The cmd_isegshq module

Module for ISEG SHQx2x power supplies. Compatible with the ps module.

API

cmd_isegshq.init_isegshq(isegshq_id, conf_string)[source]

Initialize ISEGSHQ power supply identified by isegshq_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_isegshq.deinit_isegshq(isegshq_id)[source]

Deregister a ISEG SHQ PS from the pool

cmd_isegshq.config_isegshq(isegshq_id, error_check='fast')[source]

Configure the ISEG SHQ PS

cmd_isegshq.inval_isegshq(isegshq_id)[source]

Invalidate configuration of ISEG SHQ PS

cmd_isegshq.set_voltage_isegshq(isegshq_id, voltage, slew_rate='undef')[source]

Set voltage in Volts. Optional slew_rate argument in V/s.

cmd_isegshq.set_current_limit_isegshq(isegshq_id, current_limit)[source]

Set current limit in Ampers.

cmd_isegshq.get_voltage_isegshq(isegshq_id)[source]

Get voltage in Volts

cmd_isegshq.get_current_isegshq(isegshq_id)[source]

Get current in Ampers.

cmd_isegshq.power_on_isegshq(isegshq_id)[source]

Turn on ISEG SHQ PS

cmd_isegshq.power_off_isegshq(isegshq_id)[source]

Turn off ISEG SHQ PS

cmd_isegshq.free_command_isegshq(isegshq_id, command='undef')[source]

Send free command to ISEG SHQ PS

cmd_isegshq.get_error_queue_isegshq(isegshq_id)[source]

Read error queue

cmd_isegshq.get_voltage_limit_isegshq(isegshq_id)[source]

Get voltage limit in Volts.

cmd_isegshq.get_current_limit_isegshq(isegshq_id)[source]

Get current limit in Ampers.

cmd_isegshq.get_module_status_isegshq(isegshq_id)[source]

Get module status

cmd_isegshq.get_status_isegshq(isegshq_id)[source]

Get status word

cmd_isegshq.get_module_id_isegshq(isegshq_id)[source]

Get module ID

cmd_isegshq.get_power_status_isegshq(ps_id)[source]

Check power state on PS