status.i4.v = dio_set_alarm_flags_c(device_index.i4.v, alarm_type.i4.v,
					    display.i4.v, logging.i4.v)

	This routine will set the alarm display and logging flags in the

	device_index	device index
	alarm_type	type of alarm
			(DIO_ANALOG -> analog alarm,
			 DIO_DIGITAL -> digital alarm)
	display		alarm display value to set
			(TRUE -> enable alarm display,
			 FALSE -> disable alarm display,
			 DIO_DONT_CARE -> leave flag in its present state)
	logging		alarm logging value to set
			(TRUE -> enable alarm logging,
			 FALSE -> disable alarm logging,
			 DIO_DONT_CARE -> leave flag in its present state)

	This function returns ACNET status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	negative value		other ACNET format error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_get_db_alarm(_c), dio_get_alarm(_c), dio_get_alrm_lst,
	dio_extract_alarm_info_c, dio_alarm_list_id_c

	C/C++ usage:

	int	status;
	int	device_index = 14430;
	int	alarm_type = DIO_DIGITAL;
	int	display = TRUE;
	int	logging = FALSE;

	status = dio_set_alarm_flags_c(device_index,alarm_type,