dio_scaled_to_raw_data(_c)

	status.i4.v = dio_scaled_to_raw_data(device_indices.i4a.r,
					     properties.i2a.r, values.g.v,
					     raw_data.g.v, errors.i2a.r
					     [,num_devices.i4.r]
					     [,convert_type.i4.r]
					     [,lengths.i2a.r])

	status.i4.v = dio_scaled_to_raw_data_c(device_indices.i4a.r,
					       properties.i2a.r, values.g.v,
					       raw_data.g.v, errors.i2a.r
					       [,num_devices.i4.v]
					       [,convert_type.i4.v]
					       [,lengths.i2a.r])

	This routine converts scaled reading or setting data to its
	corresponding raw value.

	device_indices	device index or array of device indices
			(If the first value is less than zero, all entries
			 will use a device index which is equal to the
			 absolute value of this argument.  This must be
			 accompanied by a negative property value as
			 described below.)
	properties	property index or array of property indices
			(PRREAD -> reading property,
			 PRSET -> setting property)
			(If the first value is less than zero, all devices
			 use a property index which is equal to the absolute
			 value of this argument.)
	values		scaled floating point value or array of values
	raw_data	returned raw reading or setting data
	errors		returned ACNET status value or array of returned
			status values
	[num_devices]	number of devices (default is 1)
	[convert_type]	type of scaling conversion desired
			(DIO_COMMON -> input data is in common engineering
				       units as single precision floats
				       (default),
			 DIO_COMMON_DOUBLE -> input data is in common
					      engineering units as double
					      precision floats,
			 DIO_PRIMARY -> input data is in primary units as
				        single precision floats,
			 DIO_PRIMARY_DOUBLE -> input data is in primary units
					       as double precision floats)
	[lengths]	device length or array of lengths for support of
			array devices  (If the first value is less than zero,
			all devices will use a length which is equal to the
			absolute value of this argument.)
			(default is NULL which results in using the
			 database minimum size for each device)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid property index passed
	DIO_MEMFAIL		memory allocation failure
	negative value		other ACNET format error
	positive value		number of devices in error

	This function requires the following include files:

	dbprops_h, diolib_h, acnet_errors_h

	Related functions:

	dio_scaled_to_raw_custom_c, dio_raw_to_scaled_data(_c),
	dio_primary_to_scaled_data_c, dio_set_raw(_c), dio_set_dev(_c),
	dio_bld_set_raw(_c), dio_set_lst_raw(_c), dio_bld_set(_c),
	dio_set_lst, dio_get_dev(_c), dio_get_lst, dio_get_raw(_c),
	dio_get_lst_raw(_c), dio_get_pdb, dio_raw_to_scaled_custom_c,
	dio_primary_to_scaled_custom_c, error_in_list(_c)

	C/C++ usage:

	char	raw_data[TOTAL_LENGTH];
	short	errors[NUM_DEVICES];
	short	properties = -PRSET;
	short	*lengths = (short *) NULL;
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	num_devices = NUM_DEVICES;
	int	convert_type = DIO_COMMON;
	float	values[NUM_DEVICES];

	status = dio_scaled_to_raw_data_c(device_indices,&properties,
					  (void *) values,(void *) raw_data,
					  errors,num_devices,convert_type,
					  lengths);