dio_calculate_raw_value_c

	status.i4.v = dio_calculate_raw_value_c(device_indices.i4a.r,
						properties.i2a.r,
						scaled_values.r8a.r,
						raw_values.u4a.r,
						value_deltas.r8a.r,
						errors.i2a.r
						[,num_devices.i4.v])

	This routine calculates a raw value corresponding to a scaled value
	for a device or a list of devices.
	
	device_indices	device index or array of device indices
	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.)
	scaled_values	scaled value or array of scaled values
	raw_values	returned raw value or array ofraw values
			(A value of NULL can be passed for this argument
			 if these values are not needed.)
	value_deltas	returned differences between the requested value
			and the match found  (A value of NULL can be
			passed for this argument if these values are
			not needed.)
	errors		returned ACNET status value or array of returned
			status values
	[num_devices]	number of devices in list (default is 1)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid property index passed
	DIO_MEMFAIL		memory allocation failure
	DIO_NOTYET		unsupported raw data type
	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_calculate_extrema_c, dio_scaled_to_raw_data(_c),
	dio_scaled_to_raw_custom_c, dio_scaling, dio_get_pdb,
	dio_scaling_length_list_c, dio_data_length_c,
	error_in_list(_c)

	C/C++ usage:

	short	errors[NUM_DEVICES];
	short	properties = -PRSET;
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	num_devices = NUM_DEVICES;
	unsigned int	raw_values[NUM_DEVICES];
	double	scaled_values[NUM_DEVICES];
	double	value_deltas[NUM_DEVICES];

	status = dio_calculate_raw_value_c(device_indices,&properties,
					   scaled_values,raw_values,
					   value_deltas,errors,num_devices);