pcdsdevices.state.state_config_dotted_names

pcdsdevices.state.state_config_dotted_names(state_count: int, motor_count: int = 1) list[str | None]

Returns the full dotted names of the state config state_name components.

This includes None for the Unknown state and is valid for use in EpicsSignalEditMD’s enum_attrs argument, matching the structure found in TwinCATStatePositioner.

Parameters:
  • state_count (int) – The number of known states used by the device.

  • motor_count (int, optional) – The number of motors associated with the states config.

Returns:

dotted_names (list of str or None) – The full dotted names in state enum order, going through all the states of each motor before moving onto the next.