966 Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide
32 :WAVeform Commands
Digital Channel Data (MSO models only)
The waveform record for digital channels is similar to that of analog
channels. The main difference is that the data points represent either
DIGital0,..,7 (POD1), DIGital8,..,15 (POD2), or any grouping of digital
channels (BUS1 or BUS2).
For digital channels, :WAVeform:UNSigned (see page 987) must be set to
ON.
Digital Channel POD Data Format
Data for digital channels is only available in groups of 8 bits (Pod1 = D0 -
D7, Pod2 = D8 - D15). The bytes are organized as:
If the :WAVeform:FORMat is WORD (see page 971) is WORD, every other
data byte will be 0. The setting of :WAVeform:BYTeorder (see page 967)
controls which byte is 0.
If a digital channel is not displayed, its bit value in the pod data byte is
not defined.
Digital Channel BUS Data Format
Digital channel BUS definitions can include any or all of the digital
channels. Therefore, data is always returned as 16- bit values. :BUS
commands (see page 241) are used to select the digital channels for a bus.
Reporting the Setup
The following is a sample response from the :WAVeform? query. In this
case, the query was issued following a *RST command.
:WAV:UNS 1;VIEW MAIN;BYT MSBF;FORM BYTE;POIN +1000;SOUR CHAN1;SOUR:SUBS
NONE
:WAVeform:SOURce Bit 7Bit 6Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
POD1 D7 D6 D5 D4 D3 D2 D1 D0
POD2 D15 D14 D13 D12 D11 D10 D9 D8