status.i4.v = blt_get_data(machine.i4.v, mode.i4.v, batch.i4.v,
This routine accepts an integer indicating the machine to be viewed,
an integer indicating the mode of the machine(BLT_PROTON or
BLT_PBAR), an integer indicating the bunch or batch (TeV or MI) to be
viewed and a data structure to be filled with BLT data. An optional
argument can be passed as an integer indicating the buffer to be
used in offset calculations.
machine BLT_TEVATRON, BLT_MAIN_INJECTOR, BLT_TEST or
BLT_RECYCLER as defined in ul_cbsaux:bltuti.h
mode BLT_PROTON or BLT_PBAR as previously defined.
batch batch to be viewed this number must be between
0 and BLT_MAX_BATCH which at this time is valued
request reference to a stucture of type BLT_DATA to be
filled with the requested data
[buffer] optional buffer designation in which to retrieve
It makes the appropriate calls, fills the structure and returns.
This function returns ACNET status values as follows:
OK positions were collected without error.
DIO_ERROR positions were collected with errors.
This function requires the following include files:
blt_get_pos, blt_get_pos_device, blt_activate_spec,
int machine = BLT_TEVATRON;
int mode = BLT_PROTON;
int batch = 0;
status = blt_get_data(machine,mode,batch,&dataSet,buffer);