Professional Documents
Culture Documents
Protocolo XL
Protocolo XL
The Host Communication Handler (AnalHost.exe) can be started manually from the Windows
analyzer menu in the Start, Programs menu.
The communication can be switched on and off in the Host Communication Handler. When
on, the port number can be selected. The factory settings are as follows:
Port OFF
Data bits* 8
Parity* None
Stop bits* 1
* Can only be changed via the Host Communication Handler when a serial port is selected.
C. Backup Procedure
To prevent loss of essential data, and time consuming data re-entering after PC-crashes, it is
advised to make daily or weekly backups. For the Vitalab analyzer program, we recommend
you to make a backup of the following files:
These files can easily be backed up using the Windows 'drag-and-drop' feature or 'copy-paste'
operation to store the files on a floppy. Of course, the automatic backup functionality offered by
the various Windows operating systems can also be used.
If necessary, e.g., after a PC-crash the Windows and analyzer programs are re-installed, you
need only copy the backup data to its original location. These are respectively: C:\Program
Files\XL Analyzer\ and C:\Program Files\XL Analyzer\Standard\ folders.
D. Interface Description
D.1 Scope
This document describes the interface and protocol between a host (Laboratory Information
System) and the XL-PC.
7 SG Signal Ground
─ The analyzer-PC uses handshaking according to the settings of the COM-port used for the
communication with the host.
─ The settings of the COM-port (baud rate, start, stop and parity bits) can only be programmed
in the Analyzer Host Communication Program.
─ As start and stop indicators of requests and responses respectively STX and ETX are used.
─ No use is made of a checksum.
─ There is no initialization of a complete communication protocol as such. The host can simply
send requests for reagent positions, tests, software versions etcetera and the analyzer-PC
will respond with the corresponding answer. In order to check the communication the Echo
request function can be used.
─ The analyzer only works in the so-called Upload mode. This means that the host sends for
each individual sample a Request Sample to the analyzer-PC, which directly responds with
a Request sample indication and after finishing the request with a Result.
─ In case the analyzer works with more than one set of two reagent rotors the host must send
only test requests for the tests actually installed on the actual set of reagent rotors. The other
tests for this sample can then be requested later.
─ When the operator changes the reagent rotor set of the analyzer, or when an analyzer part is
disabled or enabled, a new Reagent Installation is automatically sent to the host, so the
host knows which tests can be requested.
General
In the format description in the next sections, the following assumptions have been made:
─ All communication is done through, and limited to the ASCII character set.
─ All boldface characters are sent as shown.
─ In the description the items are placed on multiple lines, this is only to clarify the format and
this is NOT the case in the actual messages. Here, all items follow each other directly.
─ All items are terminated with a semicolon.
─ Some parts have to be repeated a number of times. Those parts are preceded with italicized
text. This text is not a part of the format.
─ Items are described with their names and the length in between brackets, e.g. sam-
ple_ID(12).
─ Items can be optional. These items are placed between square brackets.
─ Items can have some comment. This comment is placed between square brackets.
Item format
In general, the items themselves – when sent to the analyzer – must not contain semicolons,
because they are used for terminating the item. The next table (alphabetically sorted) gives
more specific limitations.
Flags
Normal flags
These flags appear in a fixed order in a string. For every flag either a space is written or the re-
spective flag. If none of the flags is true a string is sent with 23 spaces.
2 R insufficient reagent
3 # insufficient sample
10 r rerun
11 * alinear error
14 W westgard violation
21 P prozone error
Limit flags
These flags appear in a fixed order in a string. For every flag either a space is written or the re-
spective flag. If none of the flags is true a string is sent with 3 spaces.
1 H high limit
2 L low limit
3 P panic
Units
U/l ng/l %
U/ml g/dl %.
Raw units
Raw unit
Abs
dAbs/m
dAbs
Message format
The format of
Command format
Result (R)
Explanation
This message is sent automatically by the analyzer, if the tests of a sample are completed or if
the operator presses Ctrl-F1 in the Evaluate Samples menu, in which case a result message is
sent for the sample currently displayed on screen.
If in the Installation - Communications menu "Extended result:" is set to "yes", the extended re-
sult message is sent instead of the result message.
Normal/stat/pediatric result
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
Control result
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
Calibrator result
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
Blank result
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
reag_abs;
raw_result;
raw_units;
detailed_info
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
reag_abs;
raw_result;
raw_units;
detailed_info
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
reag_abs;
raw_result;
raw_units;
detailed_info
analyser_part;
test_name;
reagent_batch_no;
result;
flags;
limit_flags;
units;
reag_abs;
raw_result;
raw_units;
detailed_info
Kinetic test
Detailed info K;
Twopoint test
Detailed info T;
Detailed info M;
endpoint_1;
endpoint_2;
; [42 times]
Detailed info B;
endpoint_1;
endpoint_2;
; [42 times]
ISE test
Detailed info I;
; [44 times]
Kinetic test
Detailed info k;
; [2 times]
Twopoint test
Detailed info t;
; [2 times]
Monochromatic endpoint
Detailed info m;
used_r_abs_1a; [endpoint_abs_1a used for computation]
endpoint_abs_1a;
used_r_abs_1b; [endpoint_abs_1b used for computation]
endpoint_abs_1b;
used_ep_1a; [endpoint_1a used for computation]
endpoint_1a;
used_ep_1b; [endpoint_1b used for computation]
endpoint_1b;
used_ep_2a; [endpoint_2a used for computation]
endpoint_2a;
used_ep_2b; [endpoint_2b used for computation]
endpoint_2b;
; [32 times]
Note: all point pairs (e.g. 1a/1b) are measured at the same wavelength.
Bichromatic endpoint
Detailed info b;
used_r_abs_1a; [endpoint_abs_1a used for computation]
endpoint_abs_1a;
used_r_abs_1b; [endpoint_abs_1b used for computation]
endpoint_abs_1b;
used_ep_1a; [endpoint_1a used for computation]
endpoint_1a;
used_ep_1b; [endpoint_1b used for computation]
endpoint_1b;
used_ep_2a; [endpoint_2a used for computation]
endpoint_2a;
used_ep_2b; [endpoint_2b used for computation]
endpoint_2b;
; [32 times]
ISE test
Detailed info I;
;
This message is sent (automatically) by the analyzer-PC, when the operator has changed the
reagent installation, one or more reagent batch numbers, the run mode, the reagent disk (menu)
or when an analyzer part is disabled or enabled.
With a disabled analyzer part, all 32 test_names for that part are empty.
reagent_test_name;
reagent_batch_no;
R;
reagent_test_name;
reagent_batch_no;
This message is sent by the analyzer when the operator press Ctrl-F1 in the Rotor/System/ISE -
Blank Rotor menu. The blank results of the selected filter and the selected analyzer half are
sent.
cuvet_blank_val;
cuvet_av;
cuvet_sd;
lamp_av;
lamp_sd;
Command
Response
Command
Response
Command
Response
The next 2 lines are repeated 32 times (for left instrument part):
R;
The next 2 lines are repeated 32 times (for left instrument part):
Command
Response
reagent_test_count;
R;
reagent_test_count;
Only Normal, Stat and Pediatric samples can be requested. Control, Calibrators and Blanks
sample requests are done manually.
Command
Response
Command
Response
type;
sample_name;
date_of_birth;
sex;
physician_name;
Command
Response
type;
sample_id;
date_of_birth;
sex;
physician_name;
measurement_date; [empty when the sample is not yet ready]
measurement_time; [empty when the sample is not yet ready]
nr_of_tests;
analyser_part;
test_name;
reagent_batch_no;
result; [BUSY when result not yet ready]
flags;
limit_flags;
units;