Reversing Byte
Order
Using Shared
Using The Instrument 3-28
Figure 3-2, 12-Bit Waveform Data Format
The Model 3151/3151A operates in interlaced mode
where two memory cells generate one byte of data.
Segment size can be programmed in even-numbers only
and the generator can accept binary blocks of data that
are multiples of 4 only. For example, 2000 bytes will be
an acceptable binary block. 2002 is not a multiple of 4,
therefore, the generator will automatically adjust the size
to 1002 points and generate an error message.
Binary data is sent to the Model 3151/3151A in byte-high byte-low
order. This order can be reversed using the following command:
FORMat:BORDer {NORMal | SWAPped}
The default is NORM. This command is useful only for binary block
transfers.
The query:
FORMat:BORDer?
queries the byte order configuration and returns "NORM" or "SWAP".
Shared memory transfer is the fastest way to get waveforms into the
3151 And 3151A User Manual
NOTE