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.
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.