The ag_n6700b module

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

API

cmd_ag_n6700b.init_ag_n6700b(ag_n6700b_id, conf_string)[source]

Initialize ag_n6700b power supply identified by ag_n6700b_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_n6700b.deinit_ag_n6700b(ag_n6700b_id)[source]

Deinitialize an ag_n6700b

cmd_ag_n6700b.config_ag_n6700b(ag_n6700b_id)[source]

Configure an ag_n6700b

cmd_ag_n6700b.inval_ag_n6700b(ag_n6700b_id)[source]

Invalidate an ag_n6700b

cmd_ag_n6700b.reset_ag_n6700b(ag_n6700b_id)[source]

Send RST signal to PS

cmd_ag_n6700b.set_voltage_ag_n6700b(ag_n6700b_id, voltage)[source]

Set voltage in Volts. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.set_current_ag_n6700b(ag_n6700b_id, current)[source]

Set current in Ampers. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.set_voltage_limit_ag_n6700b(ag_n6700b_id, voltage_limit)[source]

Set voltage limit in Volts. channel can be 1, 2, 3 or 4. Over Voltage Protection is also set.

cmd_ag_n6700b.set_current_limit_ag_n6700b(ag_n6700b_id, current_limit)[source]

Set current limit in Ampers. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.get_voltage_ag_n6700b(ag_n6700b_id)[source]

Get voltage in Volts. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.get_current_ag_n6700b(ag_n6700b_id)[source]

Get current in Ampers. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.power_on_ag_n6700b(ag_n6700b_id)[source]

Turn on channel. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.power_off_ag_n6700b(ag_n6700b_id)[source]

Turn off channel. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.set_rise_delay_ag_n6700b(ag_n6700_id, rise_delay)[source]

Set power-on (rise) delay in seconds. channel can be 1, 2, 3 or 4.

cmd_ag_n6700b.free_command_ag_n6700b(ag_n6700b_id, command)[source]

Send a raw command to the PS

cmd_ag_n6700b.get_error_queue_ag_n6700b(ag_n6700b_id)[source]

Read error queue until the end (code 0)