6-12
Buffer and Sweeps
Model 6487 Reference Manual
SCPI programming — sweeps
Interlock
Attempting to initialize a sweep over the front panel while the interlock is open and failing
will result
in the error message "CLOSE INTLCK" being displayed. If trying to arm
remotely with the SOUR:VOLT:SWE:INIT command, the error event +802 "Output
Blocked by Interlock"is generated.
Trigger model
Sweeps do
not
change any of the trigger model settings (Section 7), other than to inter-
nally perform the equivalent of an ABORt command and return to the Idle layer when the
SOUR:VOLT:SWE:INIT command is received. Trigger and Arm Counts, sources, and
delays are exactly what they were before the sweep was started. The only difference is that
the sweep delay is added between the setting of the source to the new value and the acqui-
sition of the reading.The implications of this fact are that you must have the trigger and
arm counts properly set before sending the SOUR:VOLT:SWE:INIT command.
Example A
*RST
SYST:ZCH OFF
SOUR:VOLT:SWE:STAR 0
SOUR:VOLT:SWE:STOP 10
SOUR:VOLT:SWE:STEP 1
SOUR:VOLT:SWE:DEL 2
SOUR:VOLT:SWE:INIT
INIT:IMM
Because the *RST command sets the ARM and TRIG layer counts both to 1, the
INIT:IMM will take only a single reading in the sweep. To collect all 11 readings, you
would need to send eleven INIT:IMM commands. After each INIT:IMM command
arrives, the source will jump immediately to the new voltage, there will be a two-second
delay, then the reading will be collected.
Example B
*RST
SYST:ZCH OFF
ARM:COUN INF
SOUR:VOLT:SWE:STAR 0
SOUR:VOLT:SWE:STOP 10
SOUR:VOLT:SWE:STEP 1
SOUR:VOLT:SWE:DEL 2
SOUR:VOLT:SWE:INIT
INIT:IMM