status.i4.v = dio_alarm_tries(device_index.i4.r, alarm_type.i4.r,
				      tries_now.i4a.r, tries_needed.i4a.r
				      [,ftd.i2.r] [,start_block.i4.r]
				      [,max_blocks.i4.r] [,num_blocks.i4.r])

	status.i4.v = dio_alarm_tries_c(device_index.i4.v, alarm_type.i4.v,
					tries_now.i4a.r, tries_needed.i4a.r
					[,ftd.i2.v] [,start_block.i4.v]
					[,max_blocks.i4.v] [,num_blocks.i4.r])

	This routine returns the alarm tries now and tries needed values
	for a device.

	device_index	device index of interest
	alarm_type	type of alarm
			(DIO_ANALOG -> analog alarm,
			 DIO_DIGITAL -> digital alarm)
	tries_now	returned tries now
	tries_needed	returned tries needed
	[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'))
	[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)

	This function returns ACNET status values as follows:

	OK			success
	otherwise		ACNET format error

	This function requires the following include files:

	diolib_h, acnet_errors_h, tclk_events_h, macro_h

	Related functions:

	dio_alarm_tries_lst, dio_alarm_flags(_c), dio_alarm_limits(_c),
	dio_alarm_dnom(_c), dio_alarm_events(_c), dio_extract_alarm_info_c

	C/C++ usage:

	short	ftd = FTD_ONESHOT;
	int	status;
	int	device_index = 14430;
	int	alarm_type = DIO_ANALOG;
	int	tries_now;
	int	tries_needed;
	int	start_block = 0;
	int	max_blocks = 1;
	int	num_blocks;

	status = dio_alarm_tries_c(device_index,alarm_type,&tries_now,