dio_desired_alarm_limit_type

	status.i4.v = dio_desired_alarm_limit_type(device_indices.i4a.r,
						   limit_types.i4a.r,
						   errors.i2a.r [,sizes.i2a.r]
						   [,num_devices.i4.r])

	This routine returns the desired alarm limit type for a device.
	If "num_devices" is specified, alarm limit types for a list of
	devices can be retrieved.

	device_indices	device index or array of device indices
	limit_types	returned desired type of alarm limit or array of types
			(DIO_NOMTOL -> nominal and tolerance,
			 DIO_NOMPER -> nominal and percent tolerance,
			 DIO_MINMAX -> minimum and maximum)
			(A value of NULL may be passed if no limit types
			 are needed.)
	errors		returned ACNET status value or array of status values
	[sizes]		returned raw data length in bytes of limit values or
			array of data lengths (default is NULL)
	[num_devices]	number of devices (default is 1)

	This function returns ACNET status values as follows:

	OK			success
	DIO_BADARG		invalid number of devices passed
	DIO_MEMFAIL		memory allocation failure
	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:

	diolib_h, acnet_errors_h

	Related functions:

	dio_alarm_lim_lst, dio_alarm_limits(_c), dio_get_db_alarm(_c),
	dio_extract_alarm_info_c, dio_alarm_list_id_c, error_in_list(_c),
	dio_enable_obsolete_dev_info, dio_disable_obsolete_dev_info

	C/C++ usage:

	short	errors[NUM_DEVICES];
	short	sizes[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	limit_types[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;

	status = dio_desired_alarm_limit_type(device_indices,limit_types,
					      errors,sizes,&num_devices);