Question
When I use FORMAT REAL for data transfer, the byte order is swapped - the least significant bit is transferred first (little endian). Can I change this?
When I use FORMAT REAL for data transfer, the byte order is swapped - the least significant bit is transferred first (little endian). Can I change this?
Yes, you can change the byte order using the following command:
FORMat:BORDer NORMal | SWAPped
Controls whether binary data is transferred in normal or swapped byte order.
Parameters NORMal – The least significant bit is transferred first (little endian).
SWAPped – The most significant bit is transferred first (big endian).
*RST value NORMal (if the GPIB-Language is set to PNA, then the order is SWAPped).
SCPI, Command Types Confirmed, command or query
Example: FORM:BORD SWAP
Change the bit order to swapped mode.