device.power_supply_ki2290 module

class device.power_supply_ki2290.PowerSupply_KI2290(**kwargs)[source]

Bases: VisaHardwareBase

Digital power supply 5kV (Paschen experiment)

Model name: KEITHLEY KI2290

Communication:

  • GPIB (USB adapter), using VISA protocol and SCPI commands

SAVE_DIR = PosixPath('/home/runner/saved_data')
current_out()[source]

Return meassured output current [mA].

Note: The value takes approx. 1s to stabilize after a change in current.

is_output_on()[source]
output_off()[source]

Turn off voltage output.

output_on()[source]

Turn on voltage output.

output_on_for(duration)[source]

Turn on voltage for fixed time duration [s].

set_voltage(voltage)[source]

Set requested voltage value [V].

sweep(device_client, start, stop, steps, stabilize=0.5)[source]

Execute a voltage sweep in range (start[V], stop[V]) with specified number of steps. Data is stored in property sweep_data and also saved to a file. Filename is returned.

Parameter stabilize[s] determines how long we wait in order to let stabilize the output current.

property sweep_data

Data from last voltage sweep in format (voltage[V], current[mA]).

update_frontend(device_client)[source]
voltage_out()[source]

Return meassured output voltage [V].

voltage_req()[source]

Return requested voltage (not output voltage) [V].