bpm_request_data_c

	status.i4.v = bpm_request_data_c(event_index.i4.v, acquisition_spec.s.r,
					 start_house.i4.v, num_houses.i4.v)

	This routine requests BPM data for the machine last requested by
	a call to bpm_machine_c.

	event_index	 data acquisition event index
			 (BPM_EI_INTERACTIVE_RR	-> Recycler interactive event,
			  BPM_EI_PERIODIC_RR -> Recycler periodic event,
			  BPM_EI_MI_P_TO_RR_RR -> Recycler MI protons to
						  Recycler event,
			  BPM_EI_MI_PB_TO_RR_RR -> Recycler MI pbars to
						   Recycler event,
			  BPM_EI_RR_P_TO_MI_RR -> Recycler protons to Main
						  Injector event,
			  BPM_EI_RR_PB_TO_MI_RR -> Recycler pbars to Main
						   Injector event,
			  BPM_EI_RR_P_TO_ACC_RR -> Recycler protons to
						   Accumulator event,
			  BPM_EI_ACC_PB_TO_RR_RR -> Accumulator pbars to
						    Recycler event,
			  BPM_EI_NONE_EC -> null event index for Electron
					    Cooling,
			  BPM_EI_INTERACTIVE_NUMI -> NuMI interactive event,
			  BPM_EI_PERIODIC_NUMI -> NuMI periodic event,
			  BPM_EI_MI_P_TO_NUMI -> NuMI MI protons to NuMI event)
	acquisition_spec data acquisition specification
			 (BPM_RR_ABORT_LINE -> structure of type
					       BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_R20_LINE -> structure of type
					  BPM_RECYCLER_ACQUISITION_SPEC,
			  BPM_R30_LINE -> structure of type
					  BPM_RECYCLER_ACQUISITION_SPEC,
			  BPM_ELECTRON_COOLING -> structure of type
						  BPM_EC_ACQUISITION_SPEC,
			  BPM_EC_DEVL -> structure of type
					 BPM_EC_ACQUISITION_SPEC,
			  BPM_8_GEV_LINE -> structure of type
					    BPM_EIGHT_GEV_ACQUISITION_SPEC,
			  BPM_MI_ABORT_LINE -> structure of type
					       BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_MI_BLT -> structure of type
					BPM_MI_BLT_ACQUISITION_SPEC,
			  BPM_P1_LINE -> structure of type
					 BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_P2_LINE -> structure of type
					 BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_A1_LINE -> structure of type
					 BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_AP1_LINE -> structure of type
					  BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_AP3_LINE -> structure of type
					  BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_NUMI -> structure of type
				      BPM_NUMI_ACQUISITION_SPEC,
			  BPM_M1_LINE -> structure of type
					 BPM_BEAMLINE_ACQUISITION_SPEC,
			  BPM_M3_LINE -> structure of type
					 BPM_BEAMLINE_ACQUISITION_SPEC)
	start_house	 starting house index (starts at 0)
	num_houses	 number of houses to set (use 0 for all houses)

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOTYET		current machine is not supported
	CBS_INVARG		invalid starting house or number of
				houses requested
	CBS_NO_SUCH		no houses available in the requested range
	otherwise		error setting acquisition specification

	This function requires the following include files:

	ul_cbsaux/bpmuti.h, acnet_errors_h

	Related functions:

	bpm_machine_c, bpm_check_for_data_c, bpm_wait_for_data_c,
	bpm_get_data_c, bpm_get_names, bpm_query, bpm_name_to_index_c,
	bpm_data_source_c, bpm_beam_cycle_info, blm_get_data_c,
	bpm_get_intensity_c, bpm_plot_data, bpm_save_data, bpm_set_save_file,
	bpm_get_detector_status, bpm_get_crates_and_channels

	C/C++ usage:

	int	status;
	int	event_index = BPM_EI_INTERACTIVE_RR;
	int	start_house = 0;
	int	num_houses = 0;
	BPM_RECYCLER_ACQUISITION_SPEC	acquisition_spec;

	status = bpm_request_data_c(event_index,(void *) &acquisition_spec,
				    start_house,num_houses);