DC Output
A program example of DC output is shown in
apply voltage and measure current.
Table 2-3
v-or-c is VOLT for voltage source or limit (compliance), or CURR for current source
or limit (compliance).
func is VOLT for voltage measurement, CURR for current measurement, or RES for
resistance measurement.
func2 is VOLT for voltage measurement or CURR for current measurement.
chanlist is (@1) for selecting the channel 1 only, (@2) for selecting the channel 2
only, or (@1,2), (@1:2), (@2,1), or (@2:1) for selecting both channels 1 and 2.
Abbreviating this parameter sets chanlist = (@1) for the 1-channel models, and
chanlist = (@1,2) for the 2-channel models.
Keysight B2961B/B2962B Programming Guide, Edition 1
DC Output and Measurement Commands
Function
Selects source function
Sets source output range
Sets source output value
Sets measurement function
Sets aperture time in seconds
or by using NPLC value
Sets limit (compliance) value
Enables/disables channel
Initiates measurement and
reads result data (latest data)
Table
2-4. This example is used to
Command
[:SOUR[c]]:FUNC:MODE v-or-c
[:SOUR[c]]:v-or-c:RANG:AUTO <ON | OFF>
[:SOUR[c]]:v-or-c:RANG value
[:SOUR[c]]:v-or-c value
:SENS[c]:FUNC "func"[, "func"[, "func"]]
:SENS[c]:func2:APER time
:SENS[c]:func2:NPLC value
:SENS[c]:v-or-c:PROT value
:OUTP[c] <ON | OFF>
:MEAS? [chanlist]
:MEAS:func? [chanlist]
Programming Examples
DC Output
47