status.i4.v = wg_scale_mdat_selections_c(raw_values.u2a.r,
						 errors.i2a.r, options.u4.v)

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

	raw_values	array of raw composite MDAT values as read from
			the module
	num_values	number of values to convert
	gi_mdat_frames	array of returned G(I) MDAT frame values
			(constants are in 'mdat')
	hi_mdat_frames	array of returned H(I) MDAT frame values
			(constants are in 'mdat')
	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 raw value
	positive value		number of values in error indicating partial

	This function requires the following include files:

	ul_cbsaux_h:auxlib_device_h, mdat_h, acnet_errors_h

	Related functions:

	wg_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, wg_unscale_mdat_selections_c,
	dio_get_terse_name_length, dio_set_terse_name_length_c

	C/C++ usage:

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

	status = wg_scale_mdat_selections_c(raw_values,num_values,