The ki_6487 module

Module for Keithley 6487 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_6487, manages its picoammeter capabilities.

API

cmd_ki_6487.init_ki_6487(ki_6487_id, conf_string)[source]

Initialize ki_6487 power supply identified by ki_6487_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_6487.deinit_ki_6487(ki_6487_id)[source]

Deinitialize an ki_6487

cmd_ki_6487.config_ki_6487(ki_6487_id)[source]

Configure an ki_6487

cmd_ki_6487.inval_ki_6487(ki_6487_id)[source]

Invalidate an ki_6487

cmd_ki_6487.reset_ki_6487(ki_6487_id)[source]

Send RST signal to PS

cmd_ki_6487.set_voltage_ki_6487(ki_6487_id, voltage)[source]

Set voltage in Volts.

cmd_ki_6487.set_voltage_limit_ki_6487(ki_6487_id, voltage_limit)[source]

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

cmd_ki_6487.set_current_limit_ki_6487(ki_6487_id, current_limit)[source]

Set current limit in Ampers.

cmd_ki_6487.get_voltage_ki_6487(ki_6487_id)[source]

Get voltage in Volts.

cmd_ki_6487.get_current_ki_6487(ki_6487_id)[source]

Get current in Ampers.

cmd_ki_6487.power_on_ki_6487(ki_6487_id)[source]

Turn on.

cmd_ki_6487.power_off_ki_6487(ki_6487_id)[source]

Turn off.

cmd_ki_6487.free_command_ki_6487(ki_6487_id, command)[source]

Send a raw command to the PS

cmd_ki_6487.get_error_queue_ki_6487(ki_6487_id)[source]

Read error queue until the end (code 0)