qtics.instruments.keithley package#

Keithley instrument drivers.

Submodules#

qtics.instruments.keithley.k2231a module#

Controller of the Keithley2231A DC Power Supply.

class qtics.instruments.keithley.k2231a.Keithley2231A(transport: Transport | str, name: str = 'Keithley2231A', **transport_kwargs)[source]#

Bases: DCSource, SCPIInstrument

Keithley Model 2231A-30-3 Triple Channel DC Power Supply by Keithley Instruments.

voltage, current and their limits act on the channel selected with channel. The selected channel is state of the device, shared by all the properties: changing it from several threads is not thread-safe.

property channel: int#

Select the channel to use (device state shared by voltage and current).

property current: float#

Current of the selected the channel.

property current_limit: float#

Current limit of the selected the channel.

default_transport#

alias of SerialTransport

load(memory: int)[source]#

Load the setups saved in the specified memory location.

property output: bool#

STAT, to verify on hardware).

Type:

Whether the output is on (standard SCPI OUTP

save(memory: int)[source]#

Save the current setups of the power supply into specified memory.

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

Voltage of the selected the channel.

property voltage_limit: float#

Voltage limit of the selected the channel.

qtics.instruments.keithley.k6514 module#

Controller of the Keithley6514 Electrometer.

class qtics.instruments.keithley.k6514.Keithley6514(transport: Transport | str, name: str = 'Keithley6514', **transport_kwargs)[source]#

Bases: SCPIInstrument

Keithley 6514 Programmable Electrometer by Keithley Instruments.

default_transport#

alias of SerialTransport

read_data() → float[source]#

Return the value of the parameter under measurement.

set_measure(parameter: str)[source]#

Set basic settings for measure a parameter.

Valid parameters to write: - VOLT: Voltage measurement - CURR: Current measurement - RES: Resistance measurement - CHAR: Charge measurement

set_zero()[source]#

Perform zero correction sequence.

transport_defaults: ClassVar[Dict[str, Any]] = {'baudrate': 9600, 'delay': 0.3, 'terminator': '\n'}#
zcheck_off()[source]#

Disable zero check.

zcheck_on()[source]#

Enable zero check.

zcorrect()[source]#

Perform zero correction.