pcdsdevices.state.state_config_dotted_names

pcdsdevices.state.state_config_dotted_names(state_count: int) 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.

Returns:

dotted_names (list of str or None) – The full dotted names in state enum order.