dio_get_dev(_c)

	status.i4.v = dio_get_dev(device_index.i4.r, property.i2.r,
				  value.r4.r [,ftd.i2.r] [,length.i2.r]
				  [,offset.i2.r] [,units.i1a.r])

	status.i4.v = dio_get_dev_c(device_index.i4.v, property.i4.v,
				    value.r4.r [,ftd.i4.v] [,length.i4.v]
				    [,offset.i4.v] [,units.i1a.r])

	This routine returns scaled data (engineering units) for a specified
	device/property.  Array device retrieval is possible.  You must have
	an array large enough to accept the "value"s.  Do not use this routine
	for table devices (ramp cards, etc).  Use the routine td_read_one(_c)
	instead.  If "device_index" is an array device, the routine
	dio_get_array_device_c can be used.  If you are getting data for
	several devices, it's better to use dio_bld_get(_c) and then
	dio_get_lst.  The routine, dio_tuner(_c), can be used to adjust
	reading timeout values if necessary.

	device_index	device index
	property	device property (constants are in 'dbprops')
			(PRREAD -> reading property,
			 PRSET -> setting property)
	value		scaled returned value.  The length and offset
			must be with respect to the raw data though
			because of the possibility of structured
			(non-array) data.
	[ftd]		frequency/time that data is collected
			(FTD_ONESHOT -> one shot (default),
			 FTD_DEFAULT -> use database default FTD,
			 FTD_1HZ -> 1 Hz request (Note: This value can be
				    multiplied by an integer constant to
				    retrieve data every "constant" seconds.),
			 FTD_EVENT_MASK OR'ed with TCLK event value -> read
			 on TCLK event (event constants are in 'tclk_events')
			 (can use the macro BUILD_EVENT_FTD(event) or
			  BUILD_EVENT_PLUS_DELAY_FTD(event,delay) in 'macro'))
	[length]	raw data length in bytes
			(default (0) is database minimum size)
	[offset]	raw data offset in bytes (default (0) is 0 bytes)
	[units]		property's units text (LEN_DEV_UNITS characters)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	DIO_BADARG		invalid number of arguments passed
	DIO_SCALEFAIL		no scaling information available
	negative value		ACNET format error

	This function requires the following include files:

	cnsparam_h, dbprops_h, diolib_h, acnet_errors_h, tclk_events_h, macro_h

	Related functions:

	dio_get_device_c, dio_can_get(_c), dio_get_raw(_c), dio_value_text_c,
	dio_get_lst, dio_get_directed_list, dio_get_device_list_c,
	dio_set_dev(_c), td_read_one(_c), dio_get_array_device_c,
	dio_get_array_device_double_c, dio_tuner(_c)

	C/C++ usage:

	char	units[LEN_DEV_UNITS];
	int	status;
	int	device_index = 14430;
	int	property = PRSET;
	int	ftd = FTD_ONESHOT;
	int	length = 0;
	int	offset = 0;
	float	value;

	status = dio_get_dev_c(device_index,property,&value,ftd,
			       length,offset,units);