Response formats, Wavejet 300a remote control manual – Teledyne LeCroy WaveJet 300A Series Remote Control User Manual

Page 17

Advertising
background image

WaveJet 300A Remote Control Manual

917976 Rev A

17

5. RESPONSE FORMATS

The following response formats are provided according to the settings of the DTFORM and DTBOARD commands.
The number of data to be transferred may vary depending on the settings of the DTSTART and DTPOINTS
commands.

(1) The DTFORM command is set to "BYTE/WORD" (binary transfer):

#8 <byte-length> <binary-block>

• #8 shows that the response message is described in the format of <Definite Length Arbitrary Block

Response Data> and that the content of the following <byte_length> is an 8-digit ASCII string.

• The contents of <byte_length> represents the number of bytes to be entered into <binary_block>. The

byte length should always be a sign-free, 8-digit integer including zero.

• The contents of <binary_block> represents the waveform data stored in the product's internal memory

in binary code.

[Example of data]

# 8 0 0 0 0 1 0

2

4

D0 D1

-

-

- Dn

1024-byte binary data (D0, D1,..., Dn) is transferred.

(a) The DTFORM command is set to "BYTE":

• Since one unit of data is transferred in one byte, the number of bytes meets the number of transfer

data specified using the DTPOINTS command.

[Example of data]

# 8 0 0 0 0 1 0

2

4

D0 D1

-

-

- Dn

1024-byte binary data is transferred, and Di (i = 1, 2,..., n) corresponds to one unit of data.

Note 1: For average waveforms, only upper bytes are transferred, even though these waveforms are word
data.

Note 2: For math waveforms, word (for ADD/SUB/FFT) or double word (for MULT) data is transferred even
though the DTFORM setting is BYTE.

(b) The DTFORM command is set to "WORD":

• Since one unit of data is transferred in two bytes, the number of bytes to be transferred is twice as

large as the number of transfer data specified using the DTPOINTS command.

[Example of data]

# 8 0 0 0 0 2 0

4

8

U0 L0 U1 L1

-

-

- Un Ln

• 2048-byte binary data (U0, L0, U1, L1,..., Un, Ln) is transferred.
• Two bytes Ui and Li (i = 1, 2,..., n) correspond to one unit of data.
• For channel waveforms other than averaged, Li (i = 0, 1, …, n) becomes 0.
• The DTBORD command is used to specify the byte order. When L/H is specified, the data is

transferred in the order of Li, Ui (i = 0, 1,..., n).

(2) The DTFORM command is set to "ASCII":

<ascii_block> <delimiter>

• <ascii_block> contains block data. The waveform data units stored in the product's internal memory

are described in the format of <NR1 Numeric Response Data> one by one, and these data units are
respectively separated by a comma.

[Example of data]

D0, D1,..., Dn

Di (i = 0, 1,..., n) is described in the format of <NR1 Numeric Response Data>.

Advertising