dio_timer_max_events_c

	status.i4.v = dio_timer_max_events_c(device_indices.i4a.r,
					     errors.i2a.r, max_events.i4a.r
					     [,num_timers.i4.v])

	This routine determines the maximum number of reference clock events
	for a timer channel.

	device_indices	device index of timer or array of device indices
	errors		array of returned ACNET status values
	max_events	returned array of the maximum number of reference
			clock events
	[num_timers]	number of timers to check
			(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
	negative value		ACNET format error indicating overall failure
	positive value		number of timers in error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	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_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,
	error_in_list(_c)

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {8086, 8080};
	int	max_events[NUM_DEVICES];
	int	num_timers = NUM_DEVICES;

	status = dio_timer_max_events_c(device_indices,errors,
					       num_timers);