51
Programming Reference
SCPI Instrument Command List
The instrument uses each byte of data set one Bit in the pattern memory.
If you dont specify a particular channel, the lowest two bits of each byte
are used to set all three channels, and the top six bits are ignored. Note
that you can therefore use the ASCII characters 0,1,2 and 3, to
program Outputs 1 and 2 in binary:
:DIG:PATT:SEGM1:DATA2 #1501011
If you specify a particular channel, the least significant bit of each byte is
used to set the selected channel, and the top seven bits are ignored. Note
that you can therefore use the ASCII characters 1 and 0 to set
individual bits to 1 and 0:
Example
:ARM:SOUR IMM
Set continuous mode
:DIG:PATT:SEGM1:DATA1 #1501011
Set up pattern data for channel 1
:DIG:PATT:SEGM1:LENG 5
Set pattern length (last bit) to 5
:DIG:PATT ON
Switch on PATTERN mode
DATA CH2
OUTPUT2
CH1
OUTPUT1
ASCII
ignored used
D7 D6 D5 D4 D3 D2 D1 D0
0
1
2
3
0 0 1 1 0 0
0 0 1 1 0 0
0 0 1 1 0 0
0 0 1 1 0 0
0 0
0 1
1 0
1 1
0
0
1
1
0
1
0
1
DATA CH2
OUTPUT2
CH1
OUTPUT1
ASCII
ignored
LSB
D7 D6 D5 D4 D3 D2 D1 D0
0
1
0 0 1 1 0 0 0
0 0 1 1 0 0 0
0
1
0
1
remains unchanged
remains unchange
d