data_event_to_string

	status.i4.v = data_event_to_string(data_event.s.r, string.i1a.r,
					   string_length.i4.v)

	This routine converts a data event structure to a string.

	data_event	a data event data (DATA_EVENT_DATA structure)
	string		returned data event string
	string_length	maximum number of characters to return
			(up to DATA_EVENT_MAX_LEN characters)
	
	This function returns ACNET status values as follows:

	OK			successful conversion
	CLIB_INVARG		invalid data event data or reply string pointer
	CLIB_INVSIZ		string length limit is too small for the
				data event specified

	This function requires the following include files:

	cbslib_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	string_to_data_event, numeric_to_ascii(_c), ascii_to_numeric(_c),
	data_event_to_ftd, ftd_to_data_event_c, ftd_to_data_event_string_c,
	data_event_string_to_ftd, clib_sprintf, clib_sscanf,
	window_display_value_c, window_input_value_c, winput(_c),
	input_array_values_c, array_edit_c

	C/C++ usage:

	char	string[DATA_EVENT_MAX_LEN+1];
	int	status;
	int	string_length = (int) (sizeof(string) - 1);
	DATA_EVENT_DATA data_event;

	data_event.event_type = DATA_EVENT_TYPE_STATE;
	data_event.num_terms = 1;
	data_event.terms[0].data.state_transition.device_index = 134679;
	data_event.terms[0].data.state_transition.delay = 100;
	data_event->terms[0].data.state_transition.condition = 
						DATA_EVENT_STATE_ALL;
	data_event.terms[0].data.state_transition.state_number = 1;

	status = data_event_to_string(&data_event,string,string_length);

	// The returned string will be: "s,V:ALIVE,1,100,*".