The ki_237 module

Module for Keithley 237 voltage source. Compatible with the ps module.

API

cmd_ki_237.init_ki_237(ki_237_id, conf_string)[source]

Initialize ki_237 power supply identified by ki_237_id

conf_string must include the parameter:

  • bus: conf_string of the underlying link module (GPIB, TCP, ...)
  • channel: channel on which the id will act
cmd_ki_237.deinit_ki_237(ki_237_id)[source]

Deinitialize an ki_237

cmd_ki_237.config_ki_237(ki_237_id)[source]

Configure an ki_237

cmd_ki_237.inval_ki_237(ki_237_id)[source]

Invalidate an ki_237

cmd_ki_237.reset_ki_237(ki_237_id)[source]

Send RST signal to PS

cmd_ki_237.set_voltage_ki_237(ki_237_id, voltage)[source]

Set voltage in Volts.

cmd_ki_237.set_current_ki_237(ki_237_id, current)[source]

Set current in Ampers.

cmd_ki_237.set_voltage_limit_ki_237(ki_237_id, voltage_limit)[source]

Set voltage limit in Volts. The Over Voltage Protection will be set to 105% of the supplied value.

cmd_ki_237.set_current_limit_ki_237(ki_237_id, current_limit)[source]

Set current limit in Ampers.

cmd_ki_237.get_voltage_ki_237(ki_237_id)[source]

Get voltage in Volts.

cmd_ki_237.get_current_ki_237(ki_237_id)[source]

Get current in Ampers.

cmd_ki_237.power_on_ki_237(ki_237_id)[source]

Turn on.

cmd_ki_237.power_off_ki_237(ki_237_id)[source]

Turn off.

cmd_ki_237.free_command_ki_237(ki_237_id, command)[source]

Send a raw command to the PS

cmd_ki_237.free_query_ki_237(ki_237_id, query)[source]

Send a raw command to the PS and read response

cmd_ki_237.get_error_queue_ki_237(ki_237_id)[source]

Read error queue until the end (code 0)