This file describes the way the acquisition will be performed on an
event-by-event basis. This is the file in which you declare what action has to
be performed BEFORE and AFTER each run and AFTER each event acquisition. The
LAM source is specified in this file. The command part is subdivided into 5
sections referring to the 5 phases of the data acquisition, i.e :
LAM source definition
Lam_source defines which slot(s) within a given crate generate the LAM.
A mask is given to specifiy the slot number. Each bit of the mask corresponds
to a slot number starting with slot number 1.
, Begin of Run definition
The BOR action defines what CAMAC operations must be performed prior to
starting a run. These action[s] are done BEFORE the UBOR user routine (if
used). The key word begin_event must define the end of the BOR
section.
[florin] Event definition
Event reading defines what to readout and which variable name to relate to each
CAMAC word. This section usually expects only the CAMAC READ function. The key
word end_event defines the
closure of the event definition.
,, Rearming definition
Reset procedure defines what has to be done after having acquired an event.
This usually involves resetting the CAMAC modules for next event. F9-11 type
functions are used. Resetting the LAM has to be guaranteed by the user. The
system LAM within SusiQ will be reset automatically on the last command of this
section via rearm_lam.
... End of Run definition
The EOR action defines what action has to be performed at the end of a run
AFTER the UEOR user routine(if used). This will give the user an opportunity to
do more CAMAC commands if required before the CAMAC channel is closed. This
section usually contains the Enable of the crate Inhibit. The keyword
end_camac closes this section AND the acquisition file.
Syntax |
Section Validity |
Description |
LAM_SOURCE cr pattern |
1 |
Define what slot pattern in which crate provides the LAM |
CAM24 cr sl sub fun |
2,3,4,5 |
Single function (ex : F9,F24,..) |
CAM24 cr sl sub fun DATA data |
2,3,4,5 |
Single function with data loading |
CAM24 cr sl sub fun NEXT # SUB |
3 |
Slot
scan for # subaddress starting from sub |
CAM24 cr sl sub fun NEXT # SLOT |
3 |
Crate
scan for # slot starting from sl. |
CAM24 cr sl sub fun NAME var_name |
3 |
Single read function with var_name assignment |
LIST var_name ... |
3 |
Variable assignment of the previous CAMAC command |
Glossary |
||
cr |
crate number [0-7] | |
sl |
Slot number [1-30] | |
sub |
subaddress within a slot [0-31] | |
fun |
CAMAC function [0-31] | |
data |
output data work for Write functionformat can be decimal (eg: 15), octal (eg; "17), hexadecimal (eg: #F) | |
pattern |
hexadecimal bit pattern (ex: #200 for slot 10) | |
var_name |
8 characters string defining the CAMAC word |