blm_get_tbt_list_data_c

	status.i4.v = blm_get_tbt_list_data_c(num_detectors.i4.v,
					      detectors.i1a.r, max_turns.i4.v,
					      filter_data.i4.v,
					      readout_spec.s.r, losses.r4a.r,
					      time_stamps.u4a.r,
					      num_turns.i4a.r,
					      times.u4a.r, metadata.g.v,
					      errors.i2a.r)

	This routine retrieves BLM turn by turn data for a list of detectors
	for the machine last requested by a call to bpm_machine_c.

	num_detectors	number of detectors
	detectors	ASCII detector names
			(DEVICE_NAME_LEN + 1 characters per entry)
	max_turns	maximum number of turns to return per detector
	filter_data	filter data flag
			(TRUE -> filter out or mark bad data,
			 FALSE -> return data as it is)
	readout_spec	readout specification
			(BPM_TEVATRON -> structure of type
					 BLM_TEVATRON_READOUT_SPEC)
	losses		returned turn by turn loss values in rads per second
	time_stamps	returned turn by turn time stamps in microseconds
			since cycle reset
	num_turns	returned number of valid turns per detector
	times		returned timestamps in clinks when the data was taken
			(A value of NULL may be passed if this value is
			 not desired.)
	metadata	returned metadata structure
			(BPM_TEVATRON -> structure of type
					 BLM_TEVATRON_METADATA)
	errors		returned array of retrieval status values

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOTYET		not supported for the currently selected
				machine
	CBS_INVARG		invalid detector requested
	CBS_NODAT		no turns are available
	CBS_CORRUPT		raw data from BLM is corrupt
	positive value		number of detector readings in error
	otherwise		DIO error

	This function requires the following include files:

	ul_cbsaux/bpmuti.h, acnet_errors_h

	Related functions:

	bpm_machine_c, blm_get_tbt_data_c, bpm_get_tbt_data_c,
	bpm_get_tbt_intensity_c, bpm_get_raw_tbt_data_c, bpm_data_source_c,
	blm_get_names, blm_query, blm_name_to_index_c, blm_get_data_c

	C/C++ usage:

	static const char	detectors[NUM_DETECTORS][DEVICE_NAME_LEN+1] = {
	"I:LM100", "I:LM101A"};
	short	errors[NUM_DETECTORS];
	int	status;
	int	num_detectors = NUM_DETECTORS;
	int	max_turns = MAX_TURNS;
	int	filter_data = FALSE;
	int	num_turns[NUM_DETECTORS];
	unsigned int	time_stamps[NUM_DETECTORS*MAX_TURNS];
	unsigned int	time[NUM_DETECTORS];
	float	losses[NUM_DETECTORS*MAX_TURNS];
	void	*readout_spec = (void *) NULL;
	void	*metadata = (void *) NULL;

	status = blm_get_tbt_list_data_c(num_detectors,detectors,max_turns,
					 filter_data,readout_spec,losses,
					 time_stamps,num_turns,time,metadata);