dio_calculate_extrema_c

	status.i4.v = dio_calculate_extrema_c(device_indices.i4a.r,
					      properties.i2a.r,
					      minima.r8a.r,
					      raw_minima.u4a.r,
					      maxima.r8a.r,
					      raw_maxima.u4a.r,
					      errors.i2a.r
					      [,num_devices.i4.v])

	This routine calculates the maximum and minimum scaled values 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.)
	minima		returned minimum scaled value or array of
			minimum values (a value of NULL will result
			in no minimum values being returned)
	raw_minima	returned minimum raw value or array of
			minimum values (a value of NULL will result
			in no minimum values being returned)
	maxima		returned maximum scaled value or array of
			maximum values (a value of NULL will result
			in no maximum values being returned)
	raw_maxima	returned maximum raw value or array of
			maximum values (a value of NULL will result
			in no maximum values being returned)
	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_extrema(_c), dio_extrema_pdb_c, dio_extrema_pdb_ext_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_minima[NUM_DEVICES];
	unsigned int	raw_maxima[NUM_DEVICES];
	double	minima[NUM_DEVICES];
	double	maxima[NUM_DEVICES];

	status = dio_calculate_extrema_c(device_indices,&properties,
					 minima,raw_minima,maxima,raw_maxima,
					 errors,num_devices);