dio_historic_raw_data_type_c

	status.i4.v = dio_historic_raw_data_type_c(device_indices.i4a.r,
						   properties.i2a.r,
						   clinks.u4.v,
						   data_types.i4a.r,
						   errors.i2a.r
						   [,num_devices.i4.v])

	This routine returns the raw data type of a device or a list of devices
	for a given date.
	
	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.)
	clinks		date of interest in clinks
	data_types	returned raw data type or array of raw data types
			(DIO_CHAR -> signed one byte integer,
			 DIO_SHORT -> signed two byte integer,
			 DIO_LONG -> signed four byte integer,
			 DIO_SHORT_SWAPPED -> byte swapped two byte integer,
			 DIO_LONG_SWAPPED -> byte swapped four byte integer,
			 DIO_UNSIGNED_CHAR -> unsigned one byte integer,
			 DIO_UNSIGNED_SHORT -> unsigned two byte integer,
			 DIO_UNSIGNED_LONG -> unsigned four byte integer,
			 DIO_UNSIGNED_LONG_SWAPPED -> word swapped unsigned
						      four byte integer,
			 DIO_FLOAT -> four byte DEC floating point value,
			 DIO_IEEE_FLOAT -> four byte IEEE floating point value,
			 DIO_IEEE_FLOAT_0_10 -> four byte IEEE floating point
						value (limited to 0 - 10),
			 DIO_IEEE_FLOAT_SWAPPED -> byte swapped four byte IEEE
						   floating point value,
			 DIO_LOW_BYTE_DATA -> one byte signed integer
					      extracted from the low order
					      byte of the incoming data,
			 DIO_HIGH_BYTE_DATA -> one byte signed integer
					       extracted from the high order
					       byte of the incoming data,
			 DIO_UNSIGNED_LOW_BYTE -> one byte unsigned integer
						  extracted from the low order
						  byte of the incoming data,
			 DIO_UNSIGNED_HIGH_BYTE -> one byte unsigned integer
						   extracted from the high
						   order byte of the
						   incoming data,
			 DIO_BCD_DATA -> Binary Coded Decimal data,
			 DIO_2323_DATA -> 13 bit data from a CAMAC 2323 module)
	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_raw_data_type, dio_get_historic_scaling_c,
	dio_raw_to_scaled_historic_c, dio_historic_data_length_c,
	dio_raw_element_length_c, dio_scaling, dio_get_pdb,
	dio_data_len(_c), dio_data_type_info_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	data_types[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;
	unsigned int	clinks = DATE_IN_CLINKS;

	status = dio_historic_raw_data_type_c(device_indices,&properties,
					      clinks,data_types,errors,
					      num_devices);