12 | Keysight | Using an External Trigger to Measure Current with B2980A Series – Demo Guide
Controlling the B2980A Series using SCPI commands
If you prefer to control the B2980A Series remotely using SCPI remote commands, then
the following material explains how to do this.
The series of commands shown in group “A” configure the measurement parameter and
trigger condition. Next the series of commands shown in group “B” should be sent to
set up the voltage source optionally. Finally, the series of commands shown in group
“C” should be sent to initiate the ammeter in the B2980A Series to wait for an external
trigger signal.
The series of commands shown in group “D”, “E”, and “F” are optional to abort the
ammeter to stop waiting for an external trigger signal, to change the aperture mode, and
to change the measurement range operation.
*RST
:DISP:ENAB OFF
:SENS:FUNC "CURR"
:TRIG:ACQ:DEL 0.5
:TRIG:ACQ:TIM 1
:TRIG:ACQ:SOUR TIN
:SYST:TIN:POL POS
:TRIG:ACQ:COUN 10
:SOUR:VOLT 1
:OUTP ON
B2985A/87A SCPI command example
A
B
:INP ON
:INIT:ACQ (@1)
:ABOR:ACQ (@1)
:SENS:CURR:APER:AUTO:MODE SHOR
:SENS:CURR:APER:AUTO OFF
:SENS:CURR:RANG:AUTO OFF
:SENS:CURR:RANG 2E -5
E
F
C
D
5) If you’d like to set the
operation
to
AUTO
again, press .
6) If you’d like to reset the
measurement range setting
to the
default one
, press
, the center of the
measurement navigation key
.