Keithley Model 2231A-30-3 Triple Channel DC Power Supply.#
Keithley Model 2231A-30-3 Triple Channel DC Power Supply produced by Keithley Instruments. Manual of the instrument is available at Tek.
Base classes: qtics.instruments.types.DCSource, qtics.instruments.base.SCPIInstrument.
Example of operations#
To initialize a controller you can execute the following directives on any Python script or notebook:
from qtics import Keithley2231A
power_supply = Keithley2231A("/dev/ttyACM0")
power_supply.connect()
To execute commands:
power_supply.reset() # reset the device to default conditions
power_supply.channel = 1 # select the channel 1
power_supply.voltage_limit = 3.0 # set a limit to 3.0 V
power_supply.voltage = 1.0 # set 1.0 V
power_supply.output = True # turn on the output
The selected channel is state of the device, shared by voltage, current and the limits (not thread-safe across channels).
Commands#
Functions#
reset()
clear()
save(memory)
load(memory)
wait()
Properties#
is_completed
output
channel
voltage
current
voltage_limit
current_limit