dio_get_last_setting_raw

	status.i4.v = dio_get_last_setting_raw(device_indices.i4a.r,
					       properties.i2a.r, data.i1a.r,
					       errors.i2a.r [,num_devices.i4.r]
					       [,lengths.i4a.r]
					       [,offsets.i4a.r]
					       [,ret_lengths.i4a.r])

	This routine returns the setting information that is presently
	stored in the database for the requested devices.  If "num_devices"
	is specified, information for a list of devices can be retrieved.
	Not all front ends support this feature, and even front ends that
	do support saved settings may not do so for all devices.
	(Note: Only the setting, basic control, analog alarm and digital
	alarm block properties are supported by this routine.)

	device_indices	device index or array of device indices
	properties	property index or array of property indices
			(PRSET -> setting property,
			 PRBCTL -> basic control property,
			 PRANAB -> analog alarm block,
			 PRDABL -> digital alarm block)
			(If the first value is less than zero, all devices
			 will be requested with a property index which is
			 equal to the absolute value of this argument.)
	data		returned setting information
			(Note: The number of bytes of data returned for
			 each requested device/property is equal to the
			 maximum size for that device/property even if no
			 database setting record exists.  If the device/
			 property doesn't exist, no data will be returned
			 for that entry.)
	errors		returned ACNET status value or array of status values
			(a value of DBM_NOREC will be returned for any entry
			 which does not have a database setting record)
	[num_devices]	number of devices (default is 1)
	[lengths]	raw data length or array of data lengths in bytes
			(default is NULL which results in the use of the
			 database maximum size for each device)
	[offsets]	raw data offset or array of data offsets in bytes
			(default is NULL which results in the use of an
			 offset of 0 for all devices)
	[ret_lengths]	returned raw data length or array of data lengths
			in bytes (default is NULL)

	This function returns status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	DIO_BADARG		a requested property was not setting,
				basic control, or analog or digital alarm
				or an invalid number of devices was passed
	negative value		ACNET format error indicating overall failure
	positive value		number of devices in error indicating partial
				success

	This function requires the following include files:

	dbprops_h, diolib_h, acnet_errors_h

	Related functions:

	dio_read_last_setting_c, dio_get_last_setting,
	dio_restore_last_setting, dio_has_setting_record_c,
	dio_get_recent_setting_info_c, error_in_list(_c)

	C/C++ usage:

	char	data[NUM_DEVICES*MAX_BYTES];
	short	errors[NUM_DEVICES];
	short	properties = -PRSET;
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	num_devices = NUM_DEVICES;
	int	*lengths = (int *) NULL;
	int	*offsets = (int *) NULL;
	int	ret_lengths[NUM_DEVICES];

	status = dio_get_last_setting_raw(device_indices,properties,
					  data,errors,&num_devices,
					  lengths,offsets,ret_lengths);