
Instructions Manual
Rev 2.0 of 02/2016
47/50
7.8 EXAMPLE OF SERIAL PROTOCOL
1.
Example for the ESR analysis request on two samples (two barcodes, see paragraph 7.4.1)
WARNING: The non-printable characters (<0x20) are represented with their hexadecimal value in
square brackets [0x..].
VES-MATIC CUBE TX:
>001401500201091053[0x10]20586743[0x10][0x0D]36
STX
H/L
BLK
H/L
LEN
H/L
ADD
H/L
COM
H/L
NUM
SAMPLE 1
B
TERMINATOR
SAMPLE 2
B
TERMINATOR
ETX
H/L
CHK
>
00
14
01
50
02
01091053[0x10]
20586743[0x10]
[0x0D]
36
STX
: [0x3E] ‘>’.
H/L BLK
: fixed value ‘00’.
H/L LEN
:
number of characters in the data field (14 hex = 20 characters: 2 for H/L NUM + 9 SAMPLE 1
TERM 9 SAMPLE 2 TERMINATOR)
H/L ADD
: fixed value ‘01’
H/L COM
: command
code “for request for sample code to process”: ‘50’
H/L NUM
: number of barcodes included in this message (02 hex = 2 barcodes).
SAMPLE 1 B TERMINATOR
SAMPLE 2 B TERMINATOR
ETX
: character [0x0D].
H/L CHK
: “xor” of all the characters from STX through ETX.
2.
Example of request for authorisation sent to the host for two barcodes of two samples and
reply for analysis authorisation only for the second (see paragraph 7.4.3.)
WARNING: The non-printable characters (<0x20) are represented with their hexadecimal value in
square brackets [0x..].
VES-MATIC CUBE TX request:
>001401500201091053[0x10]20586743[0x10][0x0D]36
Host TX ACK message:
[0x06]01[0x0D]
Host TX reply:
>000B01500120586743[0x10][0x0D]5D
STX
H/L
BLK
H/L
LEN
H/L
ADD
H/L
COM
H/L
NUM
SAMPLE 2
B
TERMINATOR
ETX
H/L
CHK
>
00
0B
01
50
01
20586743[0x10]
[0x0D]
5D
STX
: [0x3E] ‘>’.
H/L BLK
: fixed value ‘00’.
H/L LEN
: number of characters in the data field (0B hex = 11 characters: 2 for H/L NUM + 9 SAMPLE
2 B TERMINATOR
Содержание VES-MATIC CUBE 30
Страница 50: ......