46
Programming Reference
SCPI Instrument Command List
Description
Use this command to set up a counted loop across one or more
segments.
If nested loops are used, the counted loop must be embedded into the
infinite loop completely.
Example
To set up an infinite loop over segment 2 to segment 4 and a counted loop
across segment 2 and segment 3:
Command
:DIG:PATT:LOOP:INF
Long
:DIGital[:STIMulus]:PATTern:LOOP:INFinite[:STATe]
Form
Set & Query
Parameter
ON | OFF | 1 | 0
*RST value
ON
Description
Use this command to set up an infinite loop from the last used segment
to the destination segment.
The infinite loop is ignored, if
:ARM:SOURce
is
IMMediate
(CONTINUOUS mode), since in continuous mode there has to be a jump
back to the start of the pattern (always from segment 4 to segment 1).
Example
To setup an infinite loop over segment 2 to segment 4:
:ARM:SOUR EXT1
:ARM:MODE STAR
:ARM:SENS POS
:DIG:PATT:LOOP:INF:STAR SEGM2
:DIG:PATT:LOOP 100
:DIG:PATT:LOOP:STAR SEGM2
:DIG:PATT:LOOP:LENG 2
:DIG:PATT ON
Set arming source to EXT-IN
Set arming mode to started
Arm on positive level
Set jump destination to segment 2
Set number of repetitions of
segment2 and segment 3
Set start of counted loop
Set length of counted loop
Switch on PATTERN mode
:ARM:SOUR EXT1
:ARM:MODE STAR
:ARM:SENS POS
:DIG:PATT:LOOP:INF ON
:DIG:PATT:LOOP:INF:STAR SEGM2
:DIG:PATT:LOOP 1
:DIG:PATT ON
Set arming source to EXT-IN
Set arming mode to started
Arm on positive level
Enable infinite loop
Set jump destination to segment 2
Disable counted loop
Switch on PATTERN mode