Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Debug recording of EPICS PVs in Logbook

...

08_15:17:03_daq-mec-mon03:ami1-0.log

Logbook:

The DAQ is capable of storing a snapshot of a list of EPICS PVs in the Logbook when a run is recorded.  The "offlineobs" process must be included (and not commented out) in the DAQ cnf file in order for this feature to work.  The list of PVs to be recorded is specified by the -V option of offlineobs.  In the xpp.cnf example below, the list of PV names is found in logbook.txt.

If some of the desired EPICS PVs are recorded in the Logbook while others are missing, make sure that logbook.txt (in this example) includes all of the PV names of interest. 


Code Block
languagepy
titlexpp.cnf
misc_path = '/reg/g/pcds/dist/pds/xpp/misc'
procmgr_config_base = [
         . . .  
# MONITORING
  { id:'offlineobs', flags:'sp', cmd:pdsapp_path+'/offlineobs -g -P XPP -E '+expname+' -L '+misc_path+'/.offlinerc -V '+misc_path+'/logbook.txt'},
         . . .
]


Use 'caget' or 'pvget' to verify that a PV is available (and spelled correctly).

Remember that you must run the DAQ with recording enabled in order to update the Logbook.

Technical note:

"serverStat" at this moment works in all hutches when using the machine name or IP, but the "DAQ alias" interpretation feature might not quite work. We hope to improve on this soon.

...