pcdsdevices.mps.MPSBase

class pcdsdevices.mps.MPSBase(*args, veto=False, **kwargs)

Base MPS class.

Used for shared methods between the individual MPS bit class and the MPSLimits class. The class handles much of the bookkeeping for both of these classes.

Each subclass must reimplement:

  • faulted()

  • bypassed()

  • _sub_to_children()

Methods

post_elog_status()

Post device status to the primary elog, if possible.

screen()

Open a screen for controlling the device.

Default behavior is the typhos screen, but this method can be overridden for more specialized screens.

status() str

Returns a str with the current pv values for the device.

Attributes

SUB_FAULT_CH = 'sub_mps_faulted'
tripped

Whether this will trip the MPS system.

This is based off of both the faulted state as well as any temporary bypasses on the MPS bit.