data_event_to_ftd

	status.i4.v = data_event_to_ftd(data_event.s.r, ftd.i2.r
					[,options.u4.v])

	This routine converts a data event value to a Frequency Time
	Descriptor (FTD).

	data_event	data event data (DATA_EVENT_DATA structure)
	ftd		returned Frequency Time Descriptor
			(constants are in 'diolib')
	[options]	conversion options
			(DATA_EVENT_OPT_NONE -> no options selected (default),
			 DATA_EVENT_OPT_EVENT_PLUS_DELAY -> support event
							    plus delay)

	This function returns ACNET status values as follows:

	OK			successful conversion
	CLIB_INVARG		invalid data event specified
	CLIB_NOTYET		data event value not supported

	This function requires the following include files:

	cbslib_h, diolib_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	ftd_to_data_event_c, string_to_data_event, data_event_to_string,
	data_event_string_to_ftd, ftd_to_data_event_string_c, clib_sprintf,
	clib_sscanf, window_display_value_c, window_input_value_c, winput(_c),
	input_array_values_c, array_edit_c

	C/C++ usage:

	short	ftd;
	int	status;
	unsigned int	options = DATA_EVENT_OPT_NONE;
	DATA_EVENT_DATA data_event;

	data_event.event_type = DATA_EVENT_TYPE_PERIODIC;
	data_event.num_terms = 1;
	data_event.terms[0].data.periodic.interval_in_msec = 1000;
	data_event.terms[0].data.periodic.want_immediate = TRUE;

	status = data_event_to_ftd(&data_event,&ftd,options);