dio_salarm_lim(_c)

	status.i4.v = dio_salarm_lim(device_index.i4.r, minimum.r4a.r,
				     maximum.r4a.r [,start_block.i4.r]
				     [,num_blocks.i4.r] [,limit_type.i4.r])

	status.i4.v = dio_salarm_lim_c(device_index.i4.v, minimum.r4a.r,
				       maximum.r4a.r [,start_block.i4.v]
				       [,num_blocks.i4.v] [,limit_type.i4.v])

	This routine sets the analog alarm limits for a device.

	device_index	device index of interest
	minimum		alarm minimum or array of minima
			(If a value of NULL is passed for this argument,
			 only the maximum value(s) will be changed.)
	maximum		alarm maximum or array of maxima
			(If a value of NULL is passed for this argument,
			 only the minimum value(s) will be changed.)
	[start_block]	starting block to send (starts at 0)
			(default is 0) (maximum is DIO_MAX_ALARM_BLOCKS - 1)
	[num_blocks]	number of blocks to send (default is 1)
			(maximum is DIO_MAX_ALARM_BLOCKS)
	[limit_type]	type of limits supplied
			(DIO_NOMTOL -> nominal and tolerance,
			 DIO_MINMAX -> minimum and maximum)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	DIO_SCALEFAIL		failure in scaling data
	DIO_BADARG		invalid alarm block requested
	otherwise		ACNET format error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

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

	C/C++ usage:

	int	status;
	int	device_index = 14430;
	int	alarm_type = DIO_ANALOG;
	int	start_block = 0;
	int	num_blocks = 1;
	int	limit_type = DIO_MINMAX;
	float	minimum = 0.0;
	float	maximum = 10.0;

	status = dio_salarm_lim_c(device_index,&minimum,&maximum,start_block,
				  num_blocks,limit_type);