dio_is_timer_reference_c

	status.i4.v = dio_is_timer_reference_c(device_indices.i4a.r,
					       is_timer_ref.i4a.r,
					       errors.i2a.r [,num_devices.i4.v]
					       [,clock_types.i4a.r])

	This routine checks to see if a device or a list of devices
	are timer reference devices.  Timer reference devices handle
	the clock events which trigger timers.
	
	device_indices	device index or array of device indices
	is_timer_ref	returned status or array of status values
			(TRUE -> device is a timer reference,
			 FALSE -> device is not a timer reference,
			 DIO_INVALID_DATA -> error occurred in reading data)
	errors		returned ACNET status value or array of returned
			status values
	[num_devices]	number of devices in list
			(default is 1)
	[clock_types]	returned reference clock event types
			(DIO_TCLK -> TCLK,
			 DIO_TEST_CLOCK -> test clock,
			 DIO_NCLK -> NML clock,
			 DIO_HCLK -> HINS clock,
			 DIO_MIBS -> Main Injector beam sync clock,
			 DIO_RRBS -> Recycler beam sync clock)
			(default is NULL)

	This function returns status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	negative value		other ACNET format error
	positive value		number of devices in error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_get_timer_reference_device_c, dio_is_timer_device_c,
	dio_is_timer_pulse_width_device_c, dio_get_timer_pulse_width_device_c,
	dio_get_timer_ref, dio_set_timer_ref, dio_add_timer_events_c,
	dio_remove_timer_events_c, dio_remove_all_timer_events_c,
	dio_build_timer_reference_list_c, dio_get_timer_reference_list,
	dio_cancel_timer_reference_list, dio_timer_max_events_c,
	error_in_list(_c)

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	is_timer_ref[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;
	int	clock_types[NUM_DEVICES];

	status = dio_is_timer_reference_c(device_indices,is_timer_ref,
					  errors,num_devices,clock_types);