status.i4.v = dio_set_timer_ref(device_indices.i4a.r, num_events.i4a.r,
					events.i4a.r, errors.i2a.r

	This routine will send reference clock events to a 177/377/379/477
	timer channel or a list of timer channels.  This routine also supports
	non-CAMAC timers which have the same ACNET device interface.

	device_indices	device index of timer or array of device indices
	num_events	number of events (<= DIO_MAX_TIMER_EVENT) or array
			of number of events
	events		array of events to send (constants are in 'tclk_events')
	errors		array of returned ACNET status values
	[num_timers]	number of timers to load (default is 1)

	This function returns status values as follows:

	OK			success
	DIO_MEMFAIL		dynamic memory allocation failure
	DIO_INVDEV		not a timer device
	DIO_NO_SUCH		invalid timer database entries
	DIO_INVLEN		invalid number of events to send
	negative value		ACNET format error indicating overall failure
	positive value		number of timers in error

	This function requires the following include files:

	diolib_h, tclk_events_h, acnet_errors_h

	Related functions:

	dio_add_timer_events_c, dio_remove_timer_events_c,
	dio_remove_all_timer_events_c, dio_get_timer_ref,
	dio_is_timer_reference_c, 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_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] = {8086, 8080};
	static const int	num_events[NUM_DEVICES] = {1, 1};
	static const int	events[NUM_EVENTS] =
	int	num_timers = NUM_DEVICES;

	status = dio_set_timer_ref(device_indices,num_events,events,errors,