Difference between revisions of "Dalma - daLogMsg Archiver"
Jump to navigation
Jump to search
(Created page with "= dalma installation - eel108 = == output files == '''Output Path''' cdaql3:/data1/cdaq/eel108/dalma_output/ '''dalma_entry.sh debug output''' dalma_entry.dbg '''daLogMs...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= dalma installation - eel108 = | = dalma installation - eel108 = | ||
− | == output files == | + | == CODA State Script - dalma_entry.sh == |
+ | Installed for configurations as a Supervisor Process (jcedit pulldown menu: Expert->Supervisor Process), this script is called for the CODA states: '''START / END / RESET''' with | ||
+ | PATH = /home/hccoda/scripts/dalma | ||
+ | COMMAND = dalma_entry.sh %(rt) START/END/RESET %(rn) %(session) | ||
+ | |||
+ | === output files === | ||
'''Output Path''' | '''Output Path''' | ||
Line 11: | Line 16: | ||
'''daLogMsg output ilename format''' | '''daLogMsg output ilename format''' | ||
RUNNUMBER-SESSION.log | RUNNUMBER-SESSION.log | ||
+ | |||
+ | == Readout List interface == | ||
+ | All messages using '''daLogMsg''' will be caught by dalma. | ||
+ | |||
+ | For example: | ||
+ | daLogMsg("INFO","TI Configured for Internal Pulser Triggers"); | ||
+ | |||
+ | Capturing standard out is done with the dalmaRol library using the '''DALMAGO''' and '''DALMASTOP''' macros | ||
+ | |||
+ | For example: | ||
+ | DALMAGO; | ||
+ | tiStatus(1); | ||
+ | DALMASTOP; | ||
+ | |||
+ | === dalma library === | ||
+ | Source installed in | ||
+ | $CODA_VME/dalma | ||
+ | |||
+ | Header is installed as | ||
+ | $CODA_VME/include/dalmaRolLib.h | ||
+ | |||
+ | Shared Library is installed as | ||
+ | $CODA_VME_LIB/libdalmaRol.so | ||
+ | |||
+ | Initialized in readout list in '''rocLoad()''' with the call: | ||
+ | dalmaInit(1); | ||
+ | |||
+ | Closed in readout list in '''rocCleanup()''' with the call: | ||
+ | dalmaClose(); |
Latest revision as of 14:46, 20 February 2023
dalma installation - eel108
CODA State Script - dalma_entry.sh
Installed for configurations as a Supervisor Process (jcedit pulldown menu: Expert->Supervisor Process), this script is called for the CODA states: START / END / RESET with
PATH = /home/hccoda/scripts/dalma COMMAND = dalma_entry.sh %(rt) START/END/RESET %(rn) %(session)
output files
Output Path
cdaql3:/data1/cdaq/eel108/dalma_output/
dalma_entry.sh debug output
dalma_entry.dbg
daLogMsg output ilename format
RUNNUMBER-SESSION.log
Readout List interface
All messages using daLogMsg will be caught by dalma.
For example:
daLogMsg("INFO","TI Configured for Internal Pulser Triggers");
Capturing standard out is done with the dalmaRol library using the DALMAGO and DALMASTOP macros
For example:
DALMAGO; tiStatus(1); DALMASTOP;
dalma library
Source installed in
$CODA_VME/dalma
Header is installed as
$CODA_VME/include/dalmaRolLib.h
Shared Library is installed as
$CODA_VME_LIB/libdalmaRol.so
Initialized in readout list in rocLoad() with the call:
dalmaInit(1);
Closed in readout list in rocCleanup() with the call:
dalmaClose();