Agilent X-Series Signal Generators SCPI Command Reference
347
Digital Signal Interface Module Commands
Digital Subsystem—Option 003 and 004 ([:SOURce])
:DIGital:DATA:ALIGnment
Supported
N5172B/82B with option 003 or 004 or both
:DIGital:DATA:ALIGnment MSB|LSB
:DIGital:DATA:ALIGment?
This command selects the bit alignment for a word less than 16 bits in length. The MSB (most
significant bit) selection maintains the MSB of the word on the same data line while the LSB (least
significant bit) will move depending on the word size. The opposite effect occurs when the alignment
is set to LSB.
Example
:DIG:DATA:ALIG MSB
The preceding example sets the MSB word format.
*RST
LSB
Key Entry
Word Alignment
:DIGital:DATA:BORDer
Supported
N5172B/82B with option 003 or 004 or both
:DIGital:DATA:BORDer MSB|LSB
:DIGital:DATA:BORDer?
This command selects the bit order for data transmitted through the N5102A module. Data can be in
least significant (LSB) bit first or most significant (MSB) bit first.
Example
:DIG:DATA:BORD MSB
The preceding example specifies data in MSB first format.
*RST
LSB
Key Entry
Bit Order
:DIGital:DATA:DIRection
Supported
N5172B/82B with option 003 or 004 or both
:DIGital:DATA:DIRection OUTPut|INPut
:DIGital:DATA:DIRection?
This command selects an input or output direction for data flow through the N5102A module.
Example
:DIG:DATA:DIR INP
The preceding example selects input as the direction of data flow.
*RST
OUTP (unless only Option 004 is installed)
Key Entry
Direction