FORMat

FORMat

The FORMat command is used to set the byte order for making binary block transfers.

Subsystem Syntax

FORMat

:BORDer NORMal SWAPped :BORDer?

:BORDer

FORMat:BORDer NORMalSWAPped is used only for binary block transfers to specify the byte order during transfer. Select the byte order for binary transfers in the block mode using the DATA:DAC command. The default is NORM.

Parameters

Parameter Name

Description

 

 

NORMal (default)

The most-significant byte (MSB) of each data point is sent

 

first.

 

 

SWAPped

The least-significant byte (LSB) of each data point is sent

 

first. Most PCs use the “swapped” byte order.

 

 

 

 

Comments The function generator represents binary data as 12-bit integers, which are sent as two bytes. Each data point in the waveform requires 12 bits, which must be transferred as 16 bits (two bytes) on the function generator's 8-bit interface.

Related Commands:

*RST Condition: FORMat:BORDer NORMal

Example Change byte-order from the default NORMal to SWAPped (least-significant byte of each data point is sent first).

:BORDer?

FORMat:BORDer? queries the byte order configuration (NORMal or SWAPped).

Returns “NORM” or “SWAP”.

84 Agilent E1441A SCPI Command Reference

Chapter 3

Page 84
Image 84
Agilent Technologies E1441A user service FORMat, BORDer?, Subsystem Syntax, Parameters, •Related Commands