define_relay_channel()#

Keysight34980A.define_relay_channel(
physical_channel: str,
alias: str | None = None,
) → RelayChannel#

Build a RelayChannel for physical_channel (e.g. "3101" = slot 3 / channel 101).

Default implementation suits the Keysight 34980A’s slot/channel addressing; override if the driver needs different parsing. Overrides must also record the resulting channel on self._relay_channels.