The ag_e3631a module

Module for Agilent E3631A power supplies. Compatible with the ps module.

API

cmd_ag_e3631a.init_ag_e3631a(ag_e3631a_id, conf_string)[source]

Initialize ag_e3631a power supply identified by ag_e3631a_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_ag_e3631a.deinit_ag_e3631a(ag_e3631a_id)[source]

Deinitialize an ag_e3631a

cmd_ag_e3631a.config_ag_e3631a(ag_e3631a_id)[source]

Configure an ag_e3631a

cmd_ag_e3631a.inval_ag_e3631a(ag_e3631a_id)[source]

Invalidate an ag_e3631a

cmd_ag_e3631a.reset_ag_e3631a(ag_e3631a_id)[source]

Send RST signal to PS

cmd_ag_e3631a.set_voltage_ag_e3631a(ag_e3631a_id, voltage)[source]

Set voltage in Volts. channel can be 1 for P6V, 2 for P25V or 3 for N25V

cmd_ag_e3631a.set_current_ag_e3631a(ag_e3631a_id, current)[source]

Set current in Ampers. channel can be 1 for P6V, 2 for P25V or 3 for N25

cmd_ag_e3631a.set_voltage_limit_ag_e3631a(ag_e3631a_id, voltage_limit)[source]

Set voltage limit in Volts. channel can be 1 for P6V, 2 for P25V or 3 for N25V

cmd_ag_e3631a.set_current_limit_ag_e3631a(ag_e3631a_id, current_limit)[source]

Set current limit in Ampers. channel can be 1 for P6V, 2 for P25V or 3 for N25

cmd_ag_e3631a.get_voltage_ag_e3631a(ag_e3631a_id)[source]

Get voltage in Volts. channel can be 1 for P6V, 2 for P25V or 3 for N25

cmd_ag_e3631a.get_current_ag_e3631a(ag_e3631a_id)[source]

Get current in Ampers. channel can be 1 for P6V, 2 for P25V or 3 for N25

cmd_ag_e3631a.power_on_ag_e3631a(ag_e3631a_id)[source]

Turn on all channels.

cmd_ag_e3631a.power_off_ag_e3631a(ag_e3631a_id)[source]

Turn off all channels

cmd_ag_e3631a.free_command_ag_e3631a(ag_e3631a_id, command)[source]

Send a raw command to the PS

cmd_ag_e3631a.get_error_queue_ag_e3631a(ag_e3631a_id)[source]

Read error queue until the end (code 0)