Skip to content

ELOG station logic weird and wrong for RIX #369

Description

@ZLLentz

Expected Behavior

Each hutch should be able to configure their daq station/elog appropriately.
E.g. if they are running on daq 2, they should post to elog 2, etc.

Current Behavior

Only elogs 0 and 1 are allowed
RIX uses 2

$ cat 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-srcf-cmp004

daq_platform:
  default: 2

Station is based on whether or not the default is active
I think we put this in for CXI like a million years ago

Possible Solution

Use the config-file provided daq platform to select the elog station when available
Otherwise, fall back to old behavior

Context

RIX elog wasn't loading correctly in hutch python (ever?)

Your Environment

pcds-5.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions