ekpy.control.instruments.keithley6221 package

Submodules

ekpy.control.instruments.keithley6221.core module

ekpy.control.instruments.keithley6221.core.is_on(current_source)

Query the current source as on or off.

Parameters

current_source (pyvisa.resources.gpib.GPIBInstrument) – Keithley 6221

Returns

True (on) or False (off)

Return type

(bool)

ekpy.control.instruments.keithley6221.core.restore(current_source)

Restore settings on current source.

Parameters

current_source (pyvisa.resources.gpib.GPIBInstrument) – Keithley 6221

ekpy.control.instruments.keithley6221.core.set_output_sin(current_source, frequency, amplitude, compliance=1.1)

Set the current source to output a sin waveform with specified amplitude and frequency. Does not start the current source.

Parameters
  • current_source (pyvisa.resources.gpib.GPIBInstrument) – Keithley 6221

  • frequency (str) – Frequency. Allowed suffix ‘khz’, ‘hz’.

  • amplitude (str) – Amplitude. Allowed suffix ‘ua’, ‘ma’.

  • compliance (float) – Compliance in V.

ekpy.control.instruments.keithley6221.core.set_wave_off(current_source)

Turn off the current source.

Parameters

current_source (pyvisa.resources.gpib.GPIBInstrument) – Keithley 6221

ekpy.control.instruments.keithley6221.core.set_wave_on(current_source)

Start the current source.

Parameters

current_source (pyvisa.resources.gpib.GPIBInstrument) – Keithley 6221

Module contents