qtics.instruments.arduino.r591_switch package#

Radiall R591722600 RF switch driver and Arduino firmware.

Submodules#

qtics.instruments.arduino.r591_switch.r591_switch module#

Python driver for an arduino-controlled RF switch.

class qtics.instruments.arduino.r591_switch.r591_switch.R591Switch(transport: Transport | str, name: str = '', pulse_length: int = 5, **transport_kwargs)[source]#

Bases: SCPIInstrument

Control for the latching RF switch R591722600.

default_transport#

alias of SerialTransport

get_open_ports()[source]#

Get currently open RF ports.

get_pins_state()[source]#

Get status of digital arduino pins.

open(pin: int) → None[source]#

Open port at specified pin.

property pulse_length: int#

The pulse length in ms.

transport_defaults: ClassVar[Dict[str, Any]] = {'baudrate': 9600, 'delay': 0.1, 'terminator': '\n'}#