status.i4.v = dio_length_offset_spec_to_drf_string_c(device_index.i4.v,

	This routine converts a length/offset device specification
	to a DRF string.

	device_index	device index
	property	device property
			(PRREAD -> reading property,
			 PRSET -> setting property,
			 PRBSTS -> basic status property,
			 PRBCTL -> basic control property,
			 PRANAB -> analog alarm property,
			 PRDABL -> digital alarm property,
			 PRTEXT -> device description property)
			(property constants are in 'dbprops')
	offset		device offset (in bytes) (>=0 or DIO_WHOLE_ARRAY)
			(If a value of DIO_WHOLE_ARRAY is specified,
			 the entire property length will be indicated.)
	length		device length (in bytes) (>=0)
	max_length	maximum number of characters to return not including
			trailing null
	drf_string	returned null formatted DRF format string
	[scaling_type]	scaling type
			(DIO_RAW -> raw units,
			 DIO_PRIMARY -> primary units,
			 DIO_COMMON -> common units (default))
			(constants are in 'diolib')
	[property_field] property field
			(DIO_FIELD_NONE -> no field specified (default),
			 DIO_FIELD_ALARM_STATE -> want alarm state,
			 DIO_FIELD_ALARM_ENABLE -> want alarm enable status,
			 DIO_FIELD_ALARM_ABORT_CAPABLE -> want alarm abort
							  capability status,
			 DIO_FIELD_ALARM_ABORT_ENABLE -> want alarm abort
							 enable status,
			 DIO_FIELD_ALARM_FLAGS -> want alarm flags word,
			 DIO_FIELD_ALARM_MINIMUM -> want alarm minimum,
			 DIO_FIELD_ALARM_MAXIMUM -> want alarm maximum,
			 DIO_FIELD_ALARM_NOMINAL -> want alarm nominal (analog),
			 DIO_FIELD_ALARM_TOLERANCE -> want alarm tolerance,
			 DIO_FIELD_ALARM_DIG_NOMINAL -> want alarm nominal
			 DIO_FIELD_ALARM_MASK -> want alarm mask,
			 DIO_FIELD_ALARM_TRIES_NEEDED -> want alarm tries
			 DIO_FIELD_ALARM_TRIES_NOW -> want alarm tries now,
			 DIO_FIELD_ALARM_FTD -> want alarm FTD,
			 DIO_FIELD_ALARM_BLOCK_DATA -> want entire alarm block,
			 DIO_FIELD_TEXT -> want text representation of property,
			 DIO_FIELD_ON_STATUS -> want "on" status value,
			 DIO_FIELD_READY_STATUS -> want "ready" status value,
			 DIO_FIELD_REMOTE_STATUS -> want "remote" status value,
			 DIO_FIELD_POSITIVE_STATUS -> want "positive" status
			 DIO_FIELD_RAMP_STATUS -> want "ramp" status value)
			(constants are in 'diolib')
	[options]	conversion options
			(DIO_OPT_NONE -> no options selected (default),
			 DIO_NAME_OPT_FULL_NAME -> use full name)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid property, array index, number of
				elements, scaling type, or field passed
	otherwise		other ACNET error

	This function requires the following include files:

	diolib_h, dbprops_h, acnet_errors_h

	Related functions:

	dio_spec_to_drf_string_c, dio_dev_name(_c),

	C/C++ usage:

	char	drf_string[MAX_LENGTH+1];
	short	property = PRREAD;
	int	status;
	int	device_index = 14430;
	int	offset = 0;
	int	length = 2;
	int	max_length = MAX_LENGTH;
	int	scaling_type = DIO_COMMON;
	int	property_field = 0;
	unsigned int	options = DIO_OPT_NONE;

	status = dio_length_offset_spec_to_drf_string_c(device_index,property,