wg_find_table_numbers_c

	status.i4.v = wg_find_table_numbers_c(main_device.i1a.r, event.i4.v,
					      time_table.i2.r, gi_table.i2.r,
					      hi_table.i2.r)

	This routine returns the time, G(I), and H(I) table numbers
	in a C465/6/7/8/0, C453, C473, V473, or C475 module corresponding
	to the selected TCLK event.  If any of the table numbers are not
	needed, a value of NULL can be passed for the corresponding
	argument.

	main_device	name of base (no suffix) device
	event		TCLK event (constants are in 'tclk_events')
			(do not specify EVENT_NULL or EVENT_NOOP)
	time_table	returned time table number (0-15)
			(0 -> null time table,
			 otherwise -> time table number)
	gi_table	returned G(I) table number (0-15)
			(0 -> null G(I) table,
			 otherwise -> G(I) table number)
	hi_table	returned H(I) table number (0-15)
			(0 -> null H(I) table,
			 otherwise -> H(I) table number)

	This function returns ACNET status values as follows:

	CBS_INVARG		invalid root name (no blanks) or event
	CBS_INVSIZ		invalid family size (database entry error)
	CBS_INVTYP		device is not a C465/6/7/8/0, C453, C473,
				V473, or C475 module
	CBS_NO_SUCH		clock event or family device not found
	negative value		other ACNET error

	This function requires the following include files:

	cnsparam_h, ul_cbsaux_h:auxlib_device_h, tclk_events_h, acnet_errors_h

	Related functions:

	wg_find_table_numbers_list_c, wg_get_device_c, wg_get_family_c,
	wg_find_time_slot_c, wg_find_time_slot_list_c, wg_get_table_numbers_c,
	wg_get_table_numbers_list_c, wg_find_level_c, wg_find_level_list_c,
	wg_scale_time_data_c, wg_scale_mdat_data_c, c465_find_level_list_c,
	c465_get_table_c, c465_get_table_list_c, find_time_slot_c,
	find_time_slot_list_c, get_465_device, get_465_family, get_465_type,
	c465_ft_frequency_c, c465_ft_frequency_list_c, c465_trigger_level_c,
	c465_trigger_level_list_c, get_453_family, get_453_device,
	wg_scale_mdat_mults_c, wg_scale_mdat_selections_c,
	wg_read_mdat_selections_list_c, wg_set_mdat_selections_list_c,
	wg_unscale_mdat_mults_c, wg_unscale_mdat_selections_c,
	dio_get_terse_name_length, dio_set_terse_name_length_c

	C/C++ usage:

	static const char	main_device[DEVICE_TERSE_NAME_LEN+1] = "T:QF    ";
	short	time_table;
	short	gi_table;
	short	hi_table;
	int	status;
	int	event = EVENT_RESET_PROTON_INJ;

	status = wg_find_table_numbers_c(main_device,event,&time_table,
					 &gi_table,&hi_table);