dio_set_alarm_ftd_c

	status.i4.v = dio_set_alarm_ftd_c(device_index.i4.v, alarm_type.i4.v,
					  ftd.u2a.r, start_block.i4.v,
					  num_blocks.i4.v)

	This routine sets the alarm FTD (scan rate) for a device.
	Not all front ends support this functionality.

	device_index	device index of interest
	alarm_type	type of alarm
			(DIO_ANALOG -> analog alarm,
			 DIO_DIGITAL -> digital alarm)
	ftd		alarm FTD (scan rate) or array of numbers of FTDs
	start_block	starting block to send (starts at 0)
			(maximum is DIO_MAX_ALARM_BLOCKS - 1)
	num_blocks	number of blocks to send
			(maximum is DIO_MAX_ALARM_BLOCKS)

	This function returns ACNET status values as follows:

	OK			success
	DIO_BADARG		invalid alarm block requested
	DIO_MISMATCH		number of blocks requested does not match device
	otherwise		ACNET format error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	dio_get_alarm_ftd_c, dio_salarm_lim(_c), dio_salarm_lim_lst,
	dio_alarm_limits(_c), dio_salarm_dnom(_c), dio_enable(_c),
	dio_disable(_c), dio_enable_abort(_c), dio_disable_abort(_c),
	dio_set_alarm_tries_c

	C/C++ usage:

	unsigned short	ftd[NUM_BLOCKS] = {FTD_1HZ};
	int	status;
	int	device_index = 14430;
	int	alarm_type = DIO_ANALOG;
	int	start_block = 0;
	int	num_blocks = NUM_BLOCKS;

	status = dio_set_alarm_ftd_c(device_index,alarm_type,ftd,
				     start_block,num_blocks);