The ki_6517 module

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

Note

The support for this device is divided in two modules. The present one manages its voltage source, while the second, cmd_mm_ki_6517, manages its picoammeter capabilities.

API

cmd_ki_6517.init_ki_6517(ki_6517_id, conf_string)[source]

Initialize ki_6517 power supply identified by ki_6517_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_6517.deinit_ki_6517(ki_6517_id)[source]

Deinitialize an ki_6517

cmd_ki_6517.config_ki_6517(ki_6517_id)[source]

Configure an ki_6517

cmd_ki_6517.inval_ki_6517(ki_6517_id)[source]

Invalidate an ki_6517

cmd_ki_6517.reset_ki_6517(ki_6517_id)[source]

Send RST signal to PS

cmd_ki_6517.set_voltage_ki_6517(ki_6517_id, voltage)[source]

Set voltage in Volts. Current limit is fixed to 1mA

cmd_ki_6517.set_voltage_limit_ki_6517(ki_6517_id, voltage_limit)[source]

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

cmd_ki_6517.get_voltage_ki_6517(ki_6517_id)[source]

Get voltage in Volts.

cmd_ki_6517.get_current_ki_6517(ki_6517_id)[source]

Get current in Ampers.

cmd_ki_6517.power_on_ki_6517(ki_6517_id)[source]

Turn on.

cmd_ki_6517.power_off_ki_6517(ki_6517_id)[source]

Turn off.

cmd_ki_6517.set_digital_on_ki_6517(ki_6517_id, active_level, channel)[source]

Set digital output channel (1 to 4) to ON. Optionally configure the active_level to high or low

cmd_ki_6517.set_digital_off_ki_6517(ki_6517_id, active_level, channel)[source]

Set digital output channel (1 to 4) to OFF. Optionally configure the active_level to high or low

cmd_ki_6517.free_command_ki_6517(ki_6517_id, command)[source]

Send a raw command to the PS

cmd_ki_6517.free_query_ki_6517(ki_6517_id, query)[source]

Send a raw command to the PS and read response

cmd_ki_6517.get_error_queue_ki_6517(ki_6517_id)[source]

Read error queue until the end (code 0)