aps-8id-dys / bluesky

XPCS bluesky instrument configuration
Other
2 stars 0 forks source link

trigger soft glue with Eiger acquisition #99

Closed prjemian closed 1 week ago

prjemian commented 1 week ago

The Eiger4M is configured (sometimes) for acquisitions to be triggered by signals from SoftGlue. Configure the ophyd Device for these PVs and triggering setup.

prjemian commented 1 week ago

An ophyd Component has a trigger_value kwarg to mark a Signal for use by the Device's trigger() method.

prjemian commented 1 week ago

Curious that this trigger_value is not used when triggering. Instead, the ophyd code assumes that the value to put is 1. That's a bug we need to correct in the local code. Later, will open issue in ophyd about this.

prjemian commented 1 week ago

Here's the configuration of the soft glue trigger signal for XPCS:

    # avoid the name 'trigger' since Device has a '.trigger()' method.
    sg_trigger = Component(
        EpicsSignal,
        "8idi:softGlueA:MUX2-1_IN0_Signal",
        kind="omitted",
        string=True,
        trigger_value="1!",
    )

It's kind="omitted" since triggering is not a configuration or readable signal.