Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

psana2 scripts can be run in real-time on shared memory.  There is some extra complexity compared to writing python code for ami, for example:

  • you have to create plots and handle when when they update
  • you have to worry about data getting out of time order
  • you have to handle missing data
  • you have to write code to handle the data gathered from multiple mpi cores (not required if you want to run on 1 core)

but you get to take advantage of the power/flexibility of python.  Look at the DAQ .cnf file (e.g. /cds/group/pcds/dist/pds/rix/scripts/rix.cnf) to see what the name of the node is running the shared memory server ("monReqServer").  You can find the name of the shared memory (hutch name is typically used) either by looking on the .cnf file (the "-P" option to monReqServer executable) or doing a command like this:

...