Data Types
LTB-8
277
Applicable Data Types for Input—IEEE 488.2
<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:
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.
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.
#
<non-zero
digit>
<digit>
<8-bit data
byte>
0
<8-bit data
byte>
<PROGRAM MESSAGE
TERMINATOR>
Содержание LTB-8
Страница 1: ...User Guide LTB 8...
Страница 8: ......
Страница 26: ......
Страница 58: ......
Страница 86: ......
Страница 100: ......
Страница 120: ......
Страница 122: ......
Страница 158: ......
Страница 204: ......
Страница 209: ...Using Your Unit and Modules in an Automated Test Environment LTB 8 201 Standard Status Data Structure...
Страница 220: ......
Страница 253: ...Troubleshooting LTB 8 245 Restoring Your Unit to Normal Operation 3 Click Update and recovery...
Страница 274: ......
Страница 346: ......
Страница 362: ......
Страница 401: ...0 5 1 5 48 5 0 176 W d y K y K D...