wg_scale_time_data_c

	status.i4.v = wg_scale_time_data_c(root_name.i1a.r, num_values.i4.v,
					   convert_type.i4.v, source_data.g.v,
					   dest_data.g.v, errors.i2a.r,
					   units_text.i1a.r [,sign_flags.i1a.r])

	This routine converts delta time data values (breakpoints) for
	waveform generator cards (C164, C165, C453, C460, C465, C466,
	C467, C468, C473, V473, and C475).

	root_name	root name of device
			(dio_get_terse_name_length characters)
	num_values	number of values to convert
	convert_type	type of conversion
			(WG_CONVERT_TO_SCALED -> convert raw tic values to
						 seconds,
			 WG_CONVERT_TO_RAW -> convert values in seconds
					      to raw tic values)
	source_data	data to convert  (Note: The data type of these
			values depends on the conversion type.  For a
			conversion of type WG_CONVERT_TO_SCALED, this
			argument should consist of "num_values" short
			integer values.  For a conversion of type
			WG_CONVERT_TO_RAW, this argument should consist
			of "num_values" float values.)
	dest_data	returned values  (Note: The data type of these
			values depends on the conversion type.  For a
			conversion of type WG_CONVERT_TO_SCALED, this
			argument should consist of "num_values" float
			values.  For a conversion of type WG_CONVERT_TO_RAW,
			this argument should consist of "num_values"
			short integer values.)
	errors		returned ACNET status value or array of returned
			status values  (Note:  A value of NULL may be passed
			for this argument if status is not needed.)
	units_text	returned units text (LEN_DEV_UNITS + 1 characters)
			(Note:  A value of NULL may be passed for this
			 argument if units text is not needed.)
	[sign_flags]	array of logical values (one per time value) that
			indicates if a negative sign bit was present in the
			raw data when converting from raw to scaled data and
			whether or not to insert a negative sign bit in the
			raw data if going from scaled to raw data
			(for C466 and C468 modules only)
			(default is NULL)

	This function returns status values as follows:

	OK			success
	CBS_INVARG		invalid number of values or
				conversion type passed
	CBS_NOTYET		requested device type is not currently supported
	DIO_RANGE		passed time value is out of range
	DIO_SCALEFAIL		math exception occurred when scaling data
	negative value		other ACNET format error
	positive value		number of scaling errors

	This function requires the following include files:

	cnsparam_h, ul_cbsaux_h:auxlib_device_h, acnet_errors_h

	Related functions:

	wg_scale_mdat_data_c, wg_get_device_c, wg_get_family_c,
	wg_find_time_slot_c, wg_find_time_slot_list_c, wg_find_table_numbers_c,
	wg_find_table_numbers_list_c, wg_get_table_numbers_c,
	wg_get_table_numbers_list_c, wg_find_level_c, wg_find_level_list_c,
	c465_find_level_c, c465_find_level_list_c, c465_get_table_c,
	c465_get_table_list_c, find_time_slot_c, find_time_slot_list_c,
	get_465_device, get_465_family, get_465_type, c465_ft_frequency_c,
	c465_ft_frequency_list_c, c465_trigger_level_c,
	c465_trigger_level_list_c, wg_scale_mdat_mults_c,
	wg_scale_mdat_selections_c, wg_read_mdat_selections_list_c,
	wg_set_mdat_selections_list_c, wg_unscale_mdat_mults_c,
	wg_unscale_mdat_selections_c, dio_get_terse_name_length,
	dio_set_terse_name_length_c

	C/C++ usage:

	static const char	root_names[DEVICE_TERSE_NAME_LEN+1] = "T:QF    ";
	char	units_text[LEN_DEV_UNITS+1];
	char	*sign_flags = (char *) NULL;
	short	source_data[NUM_VALUES];
	short	errors[NUM_VALUES];
	int	status;
	int	num_values = NUM_VALUES;
	int	convert_type = WG_CONVERT_TO_SCALED;
	float	dest_data[NUM_VALUES];

	status = wg_scale_time_data_c(root_name,num_values,convert_type,
				      (void *) source_data,(void *) dest_data,
				      errors,units_text,sign_flags);