dio_get_timer_reference_device_c

	status.i4.v = dio_get_timer_reference_device_c(device_indices.i4a.r,
						       ref_devices.i4a.r,
						       errors.i2a.r
						       [,num_devices.i4.v])

	This routine retrieves timer reference devices for a timer or
	a list of timers.  Timer reference devices handle the clock
	events which trigger timers.
	
	device_indices	device index or array of device indices
	ref_devices	returned reference device or array of reference devices
	errors		returned ACNET status value or array of returned
			status values
	[num_devices]	number of devices in list
			(default is 1)

	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_is_timer_reference_c, dio_get_timer_ref, dio_set_timer_ref,
	dio_is_timer_device_c, dio_is_timer_pulse_width_device_c,
	dio_get_timer_pulse_width_device_c, 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	ref_devices[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;

	status = dio_get_timer_reference_device_c(device_indices,ref_devices,
						  errors,num_devices);