status.i4.v = blt_get_pos(machine.i4.v, batch.i4.v, type.i4.v,
This routine accepts an integer indicating the machine to be viewed,
an integer indicating the bunch or batch (TeV or MI) to be
viewed, an integer indicating whether the positions should be raw or
filtered(BLT_POS_RAW or BLT_POS_FILTERED), an integer indicating the
number of datapoints to return with a maximum of 1024, and a
data structure to be filled with BLT positions.
machine BLT_TEVATRON, BLT_MAIN_INJECTOR, BLT_TEST or
BLT_RECYCLER as defined in ul_cbsaux:bltuti.h
batch batch or bunch to be viewed this number must be
between 0 and BLT_MAX_BATCH which at this time is
valued at 35.
type BLT_POS_RAW or BLT_POS_FILTERED
size 0 to 1024 position data points to be retrieved
request reference to a stucture of type BLT_POS to be
filled with the requested data
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_data, blt_get_pos_device, blt_activate_spec,
int machine = BLT_TEVATRON;
int batch = 0;
int type = BLT_POS_RAW;
int size = 1024;
status = blt_get_pos(machine,batch,type,size,&dataSet);