Télécharger Imprimer la page

EXFO FTB-1v2 Guide De L'utilisateur page 395

Publicité

<ARBITRARY BLOCK PROGRAM DATA>
This data type is used to send blocks of arbitrary 8-bit information
when you need to work with large amounts of data.
The actual length of the data that you send has the following structure:
Note: If you use a zero as the first digit (#0), it has to be followed by a
<PROGRAM MESSAGE TERMINATOR > so that the device will detect the
end of the <ARBITRARY BLOCK PROGRAM DATA>. This will also force
immediate termination of the message.
For example, if you send the following data (here, values are expressed
in decimal instead of binary for easier readability):
# 2 1 3 7 6 8 9 2 ...
The byte that immediately follows the # contains 2, which means that
you would have to read the two following bytes to know the length (in
bytes) of the retrieved data. The bytes indicate 1 and 3. The length will
then be 13 bytes. The actual response will begin at byte number 5, in
this case.
#
FTB-1v2 and FTB-1v2 Pro
The first byte contains the # character.
The byte that immediately follows contains the number of
subsequent bytes that you have to check to obtain the total length.
<non-zero
digit>
0
Applicable Data Types for Input—IEEE 488.2
<digit>
<8-bit data
byte>
Data Types
<8-bit data
byte>
<PROGRAM MESSAGE
TERMINATOR>
383

Publicité

loading

Ce manuel est également adapté pour:

Ftb-1v2 pro