stanza.drivers.qswitch
Module Contents
Classes
Data
logger
API
Value: getLogger(...)
Bases: stanza.base.channels.InstrumentChannel
QSwitch channel for setting and getting the state of the lines and relays.
Query all 10 relays on this channel and return their states as a list of integers.
Execute a relay command for a single relay (int) or multiple relays (comma-separated string).
Get the connection state of all relays on this channel.
Connect the specified relay or relays on this channel.
Get the disconnection state of all relays on this channel.
Disconnect the specified relay or relays on this channel.
Initialize and add connect_relay and disconnect_relay parameters to this channel.
Bases: stanza.base.instruments.BaseControlInstrument
Create and add QSwitchChannel instances for all configured breakout channels.
Format channel names and tap number into a SCPI command suffix for multi-channel operations.
Check if breakout box channel(s) are grounded.
Set breakout box channel(s) to grounded.
Check if breakout box channel(s) are ungrounded.
Set breakout box channel(s) to ungrounded.
Get if breakout box channel(s) are connected to the line number.
Set breakout box channel(s) to connected to the line number.
Get if breakout box channel(s) are disconnected from the line number.
Set breakout box channel(s) to disconnected from the line number.
Close the QSwitch driver.

