dio_alarm_limits(_c)

	status.i4.v = dio_alarm_limits(device_index.i4.r, minimum.r4a.r,
				       maximum.r4a.r [,limit_type.i4a.r]
				       [,ftd.i2.r] [,units_text.i1a.r]
				       [,start_block.i4.r] [,max_blocks.i4.r]
				       [,num_blocks.i4.r]
				       [,limit_status.i4a.r])

	status.i4.v = dio_alarm_limits_c(device_index.i4.v, minimum.r4a.r,
					 maximum.r4a.r [,limit_type.i4a.r]
					 [,ftd.i2.v] [,units_text.i1a.r]
					 [,start_block.i4.v] [,max_blocks.i4.v]
					 [,num_blocks.i4.r]
					 [,limit_status.i4a.r])

	This routine returns the analog alarm limits for a device.  If the
	parameter "limit_type" is used, the type of limit is returned.

	device_index	device index of interest
	minimum		returned alarm minimum
	maximum		returned alarm maximum
	[limit_type]	returned type of limit
			(DIO_NOMTOL -> nominal and tolerance,
			 DIO_NOMPER -> nominal and percent tolerance,
			 DIO_MINMAX -> minimum and maximum)
	[ftd]		frequency time descriptor
			(FTD_ONESHOT -> one shot (default),
			 FTD_DEFAULT -> use database default FTD,
			 FTD_1HZ -> 1 Hz request,
			 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'))
	[units_text]	returned units text (LEN_DEV_UNITS characters)
	[start_block]	starting block to return (starts at 0)
			(default is 0) (maximum is DIO_MAX_ALARM_BLOCKS - 1)
	[max_blocks]	maximum number of blocks to return per device
			(default is 1) (maximum is DIO_MAX_ALARM_BLOCKS)
	[num_blocks]	returned number of blocks returned (default is NULL)
	[limit_status]	returned array of individual limit status values
			(DIO_ALARM_LIMITS_OK -> both alarm limits were
						successfully returned,
			 DIO_ALARM_MINIMUM_OK -> only the alarm minimum
						 was successfully returned,
			 DIO_ALARM_MAXIMUM_OK -> only the alarm maximum
						 was successfully returned,
			 DIO_ALARM_LIMITS_BAD -> neither alarm limit was
						 successfully returned)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	otherwise		ACNET format error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h, tclk_events_h, macro_h

	Related functions:

	dio_alarm_lim_lst, dio_alarm_dnom(_c), dio_alarm_flags(_c),
	dio_alarm_events(_c), dio_alarm_tries(_c), dio_extract_alarm_info_c

	C/C++ usage:

	char	units_text[LEN_DEV_UNITS];
	short	ftd = FTD_ONESHOT;
	int	status;
	int	device_index = 14430;
	int	limit_type;
	int	start_block = 0;
	int	max_blocks = 1;
	int	num_blocks;
	int	limit_status;
	float	minimum;
	float	maximum;

	status = dio_alarm_limits_c(device_index,&minimum,&maximum,
				    &limit_type,ftd,units_text,
				    start_block,max_blocks,&num_blocks,
				    &limit_status);