49
Programming Reference
SCPI Instrument Command List
Example
To set up a repeating 2
10
1 PRBS on OUTPUT 1:
Command
:DIG:PATT:SEGM[1|2|3|4]:DATA[1|2]
Long
:DIGital[:STIMulus]:PATTern:SEGMent[1|2|3|4]:DATA[1|2]
Form
Set & Query
Parameter
<data>
*RST value
Segment 1
Segment 2 to Segment 4 set to all bits set to zero.
:ARM:SOUR IMM
:DIG:PATT:SEGM1:LENG 1023
:DIG:PATT:SEGM2:LENG 0
:DIG:PATT:SEGM3:LENG 0
:DIG:PATT:SEGM4:LENG 0
:DIG:PATT:SEGM1:TYPE1 PRBS
:DIG:PATT:LOOP 1
:DIG:PATT:PRBS 10
:DIG:PATT ON
Set continuous mode
Set segment 1 pattern length (last
bit) to 1023
Set segment 2 to be ignored
Set segment 3 to be ignored
Set segment 4 to be ignored
Set type of segment 1 on channel 1
to PRBS
Disable segment looping
Set PRBS base to 10
Switch on PATTERN mode
Channel
[1|2] Description Bit 1 Bit 2
1 CH1 (OUTPUT 1) 1 0
2 CH2 (OUTPUT 2) 0 1