注册登录才能更好的浏览或提问。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
The analyzer BT2000 PLUS allows bi-directional communication through RS 232C serial connection with any host computer. The particular feature of the dialog is that it is always the host computer, which initiates the communication for either transmitting patient list or for receiving the results. To initiate any communication the host computer will have to send to analyzer the character STX (0x02) and expect the character ACK (0x06) as a response. At this point the host computer will send data to the analyzer and terminate the communication by sending the character EOT (0x04). It is important to remember that any communication is followed by a response from the analyzer. It must be noted that if the parameter to be transmitted is shorter in length than the length requirement of the communication protocol than a space must be added before or after. For example the analysis have length 4, therefore to send a code GLI one must add a space before or after to reach the length of 4 characters. Patient transmission ► Start communication with sequence STX<->ACK................. ► Send patient code.................................................................. (15 characters) ► Send list type for patient insertion......................................... ("T" for Routine or "R" for STAT) ► Send type of serum............................................................... ("S" for Serum or "U" for Urine) ► Send if the patient is a clone................................................. ("Y" for Yes or "N" for No) ► Transmit position of cup........................................................ ("00" unknown) ► Send number of tests to be executed.................................... (from "01" to "99") ► Send codes of tests to be performed..................................... (4 characters) ► Send Check-Sum................................................................... (3 characters) ► Send end transmission character EOT.................................. ► Wait for response from the analyzer...................................... (2 characters) If the communication is successful then the analyzer responds with character "Y" followed by a byte, which identifies the position where patient has been inserted. In case the communication was unsuccessful, then the analyzer responds with "N" followed by a byte identifying the type of error. The possible errors generated by the analyzer in response to the invalid insertion of patient are as follows: 0x01..................... Check-Sum Error 0x02..................... Unknown Command 0x03..................... Routine/STAT field Error 0x04..................... Serum/Urine field Error 0x05..................... Clone Yes/No field Error 0x06..................... Cup position Error 0x07..................... Number of Analysis field Error Section II Chapter 4 Serial Communication BT2000 PL Rev.0, Soft Ver. 8 Page 3 of 16 0x08..................... Wrong Number of Test 0x09..................... Position already in execution 0x0A.................... Cloning impossible 0x0B.................... Code duplicated 0x0C.................... One or more analysis not present in the analyzer 0x0D.................... One or more analysis not present in the current plate 0x0E.................... Too many analysis for the patient For example to send a patient with code 000000000000001, serum type and with analysis GLI, BUN and COL onto the STATS list, then one must send the following sequence of characters (excluding initial sequence STX<->ACK): 000000000000001RSN0003GLI BUN COL 134<EOT> Where: 000000000000001............. Patient code R........................................ Identifies STATS list S........................................ Identifies the type of patient (in this case: Serum) N........................................ Identifies that the patient is not a clone 00....................................... Unknown position (the analyzer will insert the patient in a convenient position) 03....................................... identifies the number of test to be executed. GLI, BUN, COL................. Test codes (observe the space after each code to reach the 4 characters limit) 134..................................... Identifies the Check-Sum <EOT>............................... This character ends communication Results reception There are three commands for receiving reports from the analyzer: R.......... Reception of next available report L.......... Reception of the last report sent (in case of reception problems) A.......... Reception of the first available report (in case one desires to receive again all the reports) The commands R, L, and A require standard communication or the procedure STX<->ACK and the character EOT to end communication. As a response to one of these three commands the analyzer sends the requested report (if available) or the character NAK (0x15) if there is no report to be sent. It must be borne in mind that after a run test the reports are not immediately available for transmission as these need validation. To do this, go to Utility menu, RS232 and enable the option "Accept result to be sent". This operation must always be performed after each run test or groups of run test. There is also an additional option for performing validation operation automatically. Go to Setup of the analyzer (Menu Utility, Setup Analyzer), go to the Serial (fourth from the left) and enable the option "All results must be sent automatically (without validate)" at the bottom of the page. In case of positive response to the request for a report the analyzer transmits: Patient code........................ 15 characters List type............................... "T" for Routine or "R" for STATS Sample type........................ "S" for Serum or "U" for Urine Number of reports.............. 3 characters For each report: Analysis code..................... 4 characters Result.................................. 7 characters Check-Sum......................... 3 characters <EOT> The following is an example of eventual response to the data sent in "Sending a patient to BT2000 PLUS": 000000000000001RS003GLI 000.000BUN 0010.10COL 00100.0107<EOT> Where: 000000000000001........ Patient code R.................................... Identifies STATS list S.................................... Identifies the type of patient (in this case: Serum) 003................................ Identifies numbers of reports GLI................................ First test code 000.000......................... GLI test result BUN.............................. Second test code 0010.10......................... BUN test result COL............................... Third test code 00100.0......................... COL test result 107................................ Identifies the Check-Sum <EOT>.......................... This character ends communication Calculation of Check-Sum: This procedure calculates a Control code in accordance with the transmitted or received data. An algebraic sum of ASCII values of all the sent characters is executed. For example the character "A" has ASCII value 65 - 0x41. Consequently the module 256 of the found value is executed (balance of dividing the value by 256). This is the Check-Sum to be sent.
|