0% found this document useful (0 votes)
90 views7 pages

LabUPlus Serialconnect

The document describes the serial line interface of the LabUReader Plus device. It has both unidirectional and bidirectional communication modes. In unidirectional mode, it sends test result data in ASCII format to a PC or host. In bidirectional mode, it can send stored reports to a host device and receive acknowledgements to control the data flow. The data frame format is also defined, including start/end tags, patient/test info, and checksum. An example print out of a urinalysis report is also shown.

Uploaded by

Jose Perez Perez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views7 pages

LabUPlus Serialconnect

The document describes the serial line interface of the LabUReader Plus device. It has both unidirectional and bidirectional communication modes. In unidirectional mode, it sends test result data in ASCII format to a PC or host. In bidirectional mode, it can send stored reports to a host device and receive acknowledgements to control the data flow. The data frame format is also defined, including start/end tags, patient/test info, and checksum. An example print out of a urinalysis report is also shown.

Uploaded by

Jose Perez Perez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

LabUReader Plus serial line interface

1. Introduction .................................................................................................................................2
2. Hardware features .......................................................................................................................2
3. Unidirectional mode ....................................................................................................................3
4. Bidirectional mode ......................................................................................................................4
5. Example .......................................................................................................................................7

1
1. Introduction

LabUReader Plus can be connected to PC or to any Host device on RS-232 serial line, with serial
RS-232 cable.

There are different modes of communication: unidirectional and bidirectional (Labureader) which
have been thoroughly tested and also Miditron1, Miditron2 and Clinitec which have not yet used
by anybody. However, if you would like to exchange your Miditron or Clinitec device with
LabUReader in your laboratory network, you might try to use Miditron1,2 or Clinitec protocols
to have the same interface for the network. In other cases we recommend the use of unidirectional
and bidirectional (Labureader) protocols.

The mode can be chosen under the MENU/SETUP/OUTPUT/SERIAL menu:


PC: - unidirectional
LabUReader: - bidirectional

2. Hardware features

Interface cable:

LabUReader Host
9 point CANON FEMALE 9 point CANON MALE
1 1
Tx 2 2 RxD
Rx 3 3 TxD
4 4
GND 5 5 GND
6 6
7 7
8 8
9 9

The cable is a 3 core shielded cable, the shield is connected to the GND on the PC side.

The parameters of the communication:

Parameter Value
Baudrate 9600
Databits 8
Stop bits 1
Parity No

2
3. Unidirectional mode

This mode is recommended, if you want to send data to PC, using a simple terminal
program.
Mode can be set by the MENU/SETUP/OUTPUT/SERIAL/PC setting.
LabUReader sends out the same character string as which is printed out in this mode.
Sending is in ASCII code, 24 characters/line, in CR format.
Sending doesn't depend on whether data flow has received or not.

3
4. Bidirectional mode

Use this mode to connect LabUReader to laboratory network.


In this mode stored reports can be sent to Host, in controlled, bidirectional data flow.
Sending is available by choosing MEMORY/.../SEND menu.
Communication is initiated by LabUReader.
Protocol of the data flow is the following:

From Memory
Send

End of y
Send EOT CommOK
Msg ?

Prepare next
Message:
ENQ or FRAME

RTC = 0

n y
RTC == Max CommError

Send Message

RTC++

Wait for Host TimeOut


Answer

ACK
Answer from NAK
Delay DT sec
Host else

4
Where
LabUReader Host Comment
ENQ LabUReader requests to send
FRAME Report of measurement
ACK Host can receive
NACK Host can not receive
Others
Retry count (RTC), max =5
delay time (DT)=15 sec
time out =15 sec

Structure of FRAME
Everything is in ASCII, except STX and ETX ( pl 0 = 30h)

Name Length ( ASCII Comment


character)
STX 1 ‘Start of text‘ - Frame start
M 1 Identification mode : 0 - Sequence number
1 - Patient ID
No 3 The sequence number in 3 digits
Pat.ID 15 The Patient ID, if it was given by the barcode reader or by
a keyboard, else SPACE
Time 10 Date of the measurement in yyyy/mm/dd format
Strip type 1 For LabUReader Plus using U11 strips it is always “1” r
Result 12 Result of the measurement by PADs
ETX 1 end of the information
CHK 2 checksum= XOR for the parts within STX and ETX

The PADs are identified in the ‘Result’ string by those order:

Positio 1 2 3 4 5 6 7 8 9 10 11 12
n
PAD BLD BIL UBG KET GLU PRO NIT LEU PH SG ASC empty

5
Values of results can be determined by using the tables below:

Conventional
Parameter neg. + ++ +++ ++++ +++++ Unit
Bilirubin - 1 2 4 mg/dl
Urobilinogen norm. 2 4 8 12 mg/dl
Ketones - 10 25 100 300 mg/dl
Ascorbic acid - 20 40 mg/dl
Glucose norm. 50 100 250 500 1000 mg/dl
Protein - 30 100 500 mg/dl
Blood - 10 50 300 Ery/µl
pH 5 6 7 8 9
Nitrit - +
Leukocytes - 25 75 500 Leu/µl
Compensation pad - - - - - - -
Specific Gravity 1.000 1.005 1.010 1.015 1.020 1.025 1.030
Sent value 0 1 2 3 4 5 6

SI
Parameter neg. + ++ +++ ++++ +++++ Unit
Bilirubin - 15 35 70 µmol/l
Urobilinogen norm. 35 70 140 200 µmol/l
Ketones -. 1.0 2.5 10 30 mmol/l
Ascorbic acid - 0.2 0.4 g/l
Glucose norm. 2.8 5.6 14 28 56 mmol/l
Protein - 0.3 1.0 5.0 g/l
Blood - 10 50 300 Ery/µl
pH 5 6 7 8 9
Nitrit - +
Leukocytes - 25 75 500 Leu/µl
Compensation pad -
Specific Gravity 1.000 1.005 1.010 1.015 1.020 1.025 1.030
Sent value 0 1 2 3 4 5 6

Arbitrary
Parameter neg. + ++ +++ ++++ +++++ Unit
Bilirubin - + ++ +++
Urobilinogen norm. + ++ +++ ++++
Ketones - (+) + ++ +++
Ascorbic acid - + ++
Glucose norm. + ++ +++ ++++ +++++
Protein - + ++ +++
Blood - + ++ +++
pH 5 6 7 8 9
Nitrit - +
Leukocytes - + ++ +++
Compensation pad - - - - - - -
Specific Gravity 1.000 1.005 1.010 1.015 1.020 1.025 1.030
Sent value 0 1 2 3 4 5 6

6
5. Example
The printed result:

URINALYSIS LabUReader
2003/05/14 17:01
No: 4.
Pat ID : Nagy Béla

SG 1.010
*LEU 25 Leu/ul
*NIT pos
pH 8
ERY neg
*PRO 100 mg/dl
*GLU 500 mg/dl
ASC neg
KET neg
UBG norm
*BIL 1 mg/dl
------------------------ or
*----------------------*
The FRAME data flow of this report is the following (assuming Seq. No. identification):
<>- space

Sent character Length Comment


STX 1 ‘Start of text‘ - Frame start
0 1 Identification code
13 3 The sequence number in 3 digits
Nagy Béla 15 Patient ID
2003/05/14 10 Date of measurement
1 1 U11 strip
01004211320_ 12 Results of the measurement
ETX 1 End of information
Xx 2 checksum= XOR for the parts within STX and ETX

You might also like