Basic Power Supply Operation 2-17
SCPI programming — measure V and I, and DVM input
The commands to measure output voltage and current, and the DVM input are summarized
in Table 2-4 (a listing following the table contains specific command notes). The “Programming
examples” at the end of this section d
emonstrates how to use these commands.
Table 2-4
SCPI commands — measure V and I, and DVM input
Commands Description Default
SENSe[1]
:FUNCtion <name>
:NPLCycles <n>
:AVERage <NRf>
SENSe[1] subsystem for Channel #1 (battery channel):
Select readback function: “VOLTage”,
“CURRent”, or “DVMeter”.
Set integration rate (in line cycles) for voltage,
current, and DVM measurements: 0.01 to 10.
Specify the average count for voltage, current,
and DVM measurements: 1 to 10.
VOLT
1.0
1
SENSe2
:FUNCtion <name>
:NPLCycles <n>
:AVERage <NRf>
SENSe2 subsystem for Channel #2 (charger channel):
Select readback function: “VOLTage”,
“CURRent”, or “DVMeter”.
Set integration rate (in line cycles) for voltage,
current, and DVM measurements: 0.01 to 10.
Specify the average count for voltage, current,
and DVM measurements: 1 to 10.
VOLT
1.0
1
READ[1]? Trigger and return one reading for Channel #1 (battery
chan
nel)
1
.
READ[1]:ARRay? Trigger an array of readings and return them for
Ch
annel #1 (battery channel)
1
.
READ2? Trigger and return one reading for Channel #2 (charger
chan
nel)
1
.
READ2:ARRay?
Trigger an array of readings and return them for
Ch
annel #2 (charger channel)
1
.
1
This command applies to the currently selected function.
NOTE Refer to the Programming syntax paragraph of Section 6 for a description of
parameters (e.g., <b>, <NRf>, etc.).
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com