wg_unscale_mdat_selections_c

	status.i4.v = wg_unscale_mdat_selections_c(gi_mdat_frames.i4a.r,
						   hi_mdat_frames.i4a.r,
						   num_values.i4.v,
						   raw_values.u2a.r,
						   errors.i2a.r,
						   options.u4.v)

	This routine converts individual G(I) and H(I) MDAT frame values
	to raw MDAT selection values for waveform generator cards
	(C453, C460, C465, C466, C467, C468, and C475).

	gi_mdat_frames	array of G(I) MDAT frame values
			(constants are in 'mdat')
	hi_mdat_frames	array of H(I) MDAT frame values
			(constants are in 'mdat')
	num_values	number of values to convert
	raw_values	returned array of raw composite MDAT values
			suitable for sending to the module
	errors		array of returned errors (A value of NULL can be
			passed for this argument if individual error status
			is not needed.)
	options		conversion options
			(WG_OPT_NONE -> no options selected,
			 WG_OPT_IS_C453 -> make conversions for a C453 module,
			 WG_OPT_IS_C475 -> make conversions for a C475 module)

	This function returns status values as follows:

	OK			success
	CLIB_INVARG		invalid number of values or MDAT value
	positive value		number of values in error indicating partial
				success

	This function requires the following include files:

	ul_cbsaux_h:auxlib_device_h, mdat_h, acnet_errors_h

	Related functions:

	wwg_scale_mdat_selections_c, g_scale_mdat_data_c, wg_scale_time_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_read_mdat_selections_list_c, wg_set_mdat_selections_list_c,
	wg_unscale_mdat_mults_c

	C/C++ usage:

	short	errors[NUM_VALUES];
	unsigned short	raw_values[NUM_VALUES];
	int	status;
	int	gi_mdat_frames[NUM_VALUES];
	int	hi_mdat_frames[NUM_VALUES];
	int	num_values = NUM_VALUES;
	unsigned int	options = WG_OPT_NONE;

	status = wg_unscale_mdat_selections_c(gi_mdat_frames,hi_mdat_frames,
					      num_values,raw_values,errors,
					      options);