Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: cosmetic

...

Code Block
rix-daq:control> more /cds/group/pcds/pyps/apps/hutch-python/rix/conf.yml 
hutch: rix

# Locate happi database
db: /reg/g/pcds/pyps/apps/hutch-python/device_config/db.json

# Hutch-specific imports
load: rix.beamline

# DAQ interface configuration
daq_type: lcls2

daq_host: drp-neh-ctl001

daq_platform:
  default: 2
rix-daq:control> 

...

LCLS2 DAQ Python interface FAQ

Q1) How to find the current DAQ state?

A1) Call control.getStatus()

Q2) How to determine whether the DAQ has already been configured?

A2) Check if the current DAQ state is any of "configured", "starting", "paused", or "running".

Q3) How to force a "configure" transition before the next scan?

A3) Set the DAQ state to "connected".

...