Nidek Medical TONOREFII Interface Manual

Nidek Medical TONOREFII Interface Manual

Auto ref/kerato/tonometer

Advertisement

AUTO REF/KERATO/TONOMETER
AUTO REF/KERATO/TONOMETER
Model
Mo
INTERFACE MANUAL
INTERFACE MANUAL
TONOREFII
TONOREFII
November 2009
Pages in total: 52
XRKT2*RTZ001D/E

Advertisement

Table of Contents
loading

Summary of Contents for Nidek Medical TONOREFII

  • Page 1 AUTO REF/KERATO/TONOMETER AUTO REF/KERATO/TONOMETER TONOREFII TONOREFII Model INTERFACE MANUAL INTERFACE MANUAL November 2009 Pages in total: 52 XRKT2*RTZ001D/E...
  • Page 2 : 34-14, Maehama, Hiroishi-cho, Gamagori, Aichi 443-0038, Japan NIDEK CO., LTD. Telephone: +81-533-67-6611 (Manufacturer) Facsimile: +81-533-67-6610 : 3F Sumitomo Fudosan Hongo Bldg., 3-22-5, Hongo, NIDEK CO., LTD Bunkyo-Ku, Tokyo 113-0033, Japan (Tokyo Office) Telephone: +81-3-5844-2641 Facsimile: +81-3-5844-2642 : 47651 Westinghouse Drive, Fremont, California 94539, U. S. A. NIDEK INCORPORATED Telephone: +1-510-226-5700 (United States Agent)
  • Page 3: Table Of Contents

    Table of Contents 1. OUTLINE OF COMMUNICATION....1 1.1 Types of Interfaces ........... . .1 2.
  • Page 5: Outline Of Communication

    OUTLINE OF COMMUNICATION Types of Interfaces In order to transmit the data measured by the TONOREF II to an external computer, the TONOREF II comes equipped with the following interfaces: RS-232C interface LAN interface In this Interface Manual, Section 2 describes the method of receiving measurement data from the TONOREF II using the RS-232C interface, and Section 3 describes the method using the LAN inter- face.
  • Page 6 OUTLINE OF COMMUNICATION: Types of Interfaces...
  • Page 7: Rs-232C Communication

    RS-232C COMMUNICATION Outline of RS-232C Communication 2.1.1 Outline of Communication Function In order to transmit the data measured by the TONOREF II to an external computer, the TONOREF II comes standard with an RS-232C interface. This manual provides the method of receiving the mea- sured data from the TONOREF II through this interface.
  • Page 8 RS-232C COMMUNICATION: Outline of RS-232C Communication Cable connection TONOREF II External computer Interface connector Serial communication port (RS-232C) D-sub 9P (female) DIN 8P Connect between the port of the TONOREF II interface connector and the serial communica- tion port (RS-232C) of the external computer with the above interface cable (Model: OPIF-11). This interface cable allows the I/F MODE parameter to be set either to “Nidek”...
  • Page 9: Communication Sequence

    RS-232C COMMUNICATION: Outline of RS-232C Communication 2.1.2 Communication Sequence Two types of the transmission sequences, “NIDEK” and “NCP10”, can be selected by setting the I/F MODE parameter. COMMUNICATION SEQUENCE NIDEK NCP10 DTR/DSR control RS/SD command control Data transmission in response to a request from the Available Not available Checksum data...
  • Page 10: When The I/F Mode Parameter Is Set To Ncp10

    RS-232C COMMUNICATION: Outline of RS-232C Communication RS/SD command control: [When the print button ( ) is pressed:] [When a data send request is sent from the external computer:] 2.1.4 When the I/F MODE parameter is set to NCP10 The DTR/DSR control is not performed. The DTR signal of the TONOREF II is constantly at a low state on a line.
  • Page 11: Data Format

    RS-232C COMMUNICATION: Data Format Data Format 2.2.1 Command Format (with “NIDEK”) ASCII characters are used for data transmission and reception. 1 RS command Sends a request for 2 SD command to the external computer from the TONOREF II. H: HEX (Hexadecimal) 2 SD command Sends a request for measured data transmission to the TONOREF II from the external com- puter.
  • Page 12 RS-232C COMMUNICATION: Data Format 3 CL command Sends a request to clear measured data to the TONOREF II from the external computer. All-clear process is executed by any of the commands shown below. After the execution of all-clear process which corresponds to the actuation of the print button ( ), preparations for the next measurement are made.
  • Page 13: Data Format

    RS-232C COMMUNICATION: Data Format 2.2.2 Data Format Basic format 1) AR measured data: Data Data Data 2) KM measured data: Data Data Data 3) AR and KM measured data: Data Data Data Data Data 4) NT measured data: Data Data 5) AR, KM and NT measured data: Data Data...
  • Page 14 RS-232C COMMUNICATION: Data Format Data The number inside the parentheses indicates the number of characters transmitted. 1 Company name / Model name When the I/F FORMAT parameter is set to SHORT and a request for KM data only is sent (See “2 SD Command”...
  • Page 15 RS-232C COMMUNICATION: Data Format 6 Objectively measured data If median values have been obtained after three or more measurements, the median values are transmitted first and then respective items of data are transmitted (in order of acquisition time with the latest data first). Order of R/L: L → R. If “45.
  • Page 16 RS-232C COMMUNICATION: Data Format 7 Contact lens conversion data 1) Left eye data 2) Right eye data 8 Optimum trial lens data 1) Left eye data 2) Right eye data If the TL PRINT parameter is set to NO, trial lens data is not transmitted. 9 PD measurement 1) When both right and left PD values are measured: 2) When the distance PD value only is measured:...
  • Page 17 RS-232C COMMUNICATION: Data Format 10 KM measurements When median values have been obtained after three or more measurements, the median values are transmitted first and then respective items of data are transmitted (in order of acquisition time with the latest data first). Order of R/L: L → R. If the I/F FORMAT parameter is set to SHORT: •...
  • Page 18 RS-232C COMMUNICATION: Data Format 11 Corneal size (CS) measurement If the I/F FORMAT parameter is set to SHORT, the data is not transmitted. 1) Left eye data 2) Right eye data 12 Pupil size (PS) measurements If the I/F FORMAT parameter is set to SHORT, the data is not transmitted. 1) Left eye data 2) Right eye data “Target lamp”...
  • Page 19 RS-232C COMMUNICATION: Data Format 13 NT measurements 1) Right eye data The number of data to be transmitted varies with the number of measurements (1 to 10). (Measured data is transmitted in order of acquisition time with the latest data first.) 2) Left eye data In the case of the left-eye data, no spaces (*) are added after data.
  • Page 20 RS-232C COMMUNICATION: Data Format 3) Right eye data - APL error 4) Left eye data - APL error 5) Right eye data - OVR error 6) Left eye data - OVR error...
  • Page 21 RS-232C COMMUNICATION: Data Format 14 Checksum If the I/F MODE parameter is set to NCP10, a checksum is added to the data format. It is added after “EOT” of each data format. The checksum is represented by four hexadecimal digits. The value of the checksum is the simple sum of “SOH”...
  • Page 22: Cr (Carriage Return) Code

    RS-232C COMMUNICATION: Data Format 2.2.3 CR (Carriage Return) Code When a personal computer is used as the external computer for receiving the data, it may be neces- sary to add “CR” code to the end of data to be transmitted in one line. The TONOREF II allows you to select whether or not to add “CR”...
  • Page 23: Communication Program

    RS-232C COMMUNICATION: Communication Program Communication Program 2.3.1 Interface between the TONOREF II and External PC Actual transmission method is explained using the attached sample program in this section. As the external computer, an IBM PC compatible (IBM100% COMPATIBLE) is used. Connect between the port of the TONOREF II interface connector and serial communication port (RS-232C) of the external computer with an interface cable...
  • Page 24: Flow Of Sample Program

    RS-232C COMMUNICATION: Communication Program 2.3.2 Flow of Sample Program When the I/F MODE parameter is set to NIDEK: External computer TONOREF II...
  • Page 25 RS-232C COMMUNICATION: Communication Program When the I/F MODE is set to NCP10: External computer TONOREF II...
  • Page 26: Sample Program

    RS-232C COMMUNICATION: Communication Program 2.3.3 Sample program When the I/F MODE parameter is set to NIDEK: '******************************************** Input DATA from TONOREF II for PC/AT* Sample Program for I/F Mode = NIDEK * (Visual Basic Ver6.0) '******************************************** Setting of TONOREF II I/F Mode = NIDEK Baud-Rate...
  • Page 27 RS-232C COMMUNICATION: Communication Program Do ' Check DSR DoEvents Loop Until MSComm1.DSRHolding = True MSComm1.Output = CRN_SD ' Send SD command for RKT Label3.Caption = "Waiting for DATA (TEXT)" Timer1.Interval = 5000 Timer1.Enabled = True: TimeupFlag = False Do ' Waiting for Data DoEvents If TimeupFlag = True Then Exit Do...
  • Page 28 RS-232C COMMUNICATION: Communication Program When the I/F (Interface) MODE is set to NCP10: '******************************************** Input DATA from TONOREF II for PC/AT* Sample Program for I/F Mode = NCP10 * (Visual Basic Ver6.0) '******************************************** Setting of TONOREF II I/F Mode = NCP10 Baud-Rate = 9600 Bit Length = 8...
  • Page 29 RS-232C COMMUNICATION: Communication Program s = Len(L_Buf) If s > 4 Then If Mid$(L_Buf, s - 4, 1) = Chr(4) Then ' Search EOT before checksum RecEotFlag = True Timer1.Enabled = False End If End If Case comEvCTS Case comEvDSR Case comEvCD Case comEvRing Case comEvEOF...
  • Page 30 RS-232C COMMUNICATION: Communication Program...
  • Page 31: Lan Communication

    LAN COMMUNICATION Outline of LAN Communication 3.1.1 Outline of communication function The TONOREF II comes equipped with a LAN interface for outputting the XML (measurement result/ information) or JPEG (cross-sectional image of the cornea) files created from the measurement data to a shared folder on an external computer using CIFS (Windows file sharing) to be used for oph- thalmic electronic filing system.This section describes the method of receiving measurement data from the TONOREF II using the LAN interface.
  • Page 32: Communication Sequence

    LAN COMMUNICATION: Outline of LAN Communication 3.1.2 Communication sequence The communication sequence is as shown below. Filing system TONOREF II (such as NAVIS) Turning ON power to Scanning barcode/ external computer magnetic card Setting read information as ID 1) Activating filing system 2) Starting shared folder monitoring Measurement NT measurement...
  • Page 33: Data Format

    LAN COMMUNICATION: Data Format Data Format 3.2.1 Folder configuration Output files are saved to the shared folder. The configuration in the shared folder is as shown below. Electric filing system reference folder The XML files are saved to the TXT folder. JPEG files are saved to the JPEG folder. 3.2.2 File format Text (XML) files is output.
  • Page 34 LAN COMMUNICATION: Data Format File naming rules The files are named according to the rules shown below. 1) XML file in the TXT folder Separation (underscore) ABCDEFGHIJKLMN 20071109103057 . xml XML extension fixed at 3 Header fixed at 3 characters characters Time and date fixed at 14 characters ID fixed at 14 characters...
  • Page 35: Data Format

    LAN COMMUNICATION: Data Format Data Format This section describes the XML file format. 3.3.1 Basic format The data format of the XML file is as shown below. The file is created in Unicode (UTF-16). 1st line ..<?xml version=”1.0” encoding=”UTF-16”?> 2nd line .
  • Page 36: Xml File Data

    LAN COMMUNICATION: Data Format 3.3.3 XML file data The XML file data is not output if there is no measurement data. A unit is attached to the information data but not to the numerical data. XML file sample (used only for the explanation, and not the actual measurement data) <?xml version="1.0"...
  • Page 37 LAN COMMUNICATION: Data Format <Sphere>-10.25</Sphere> SPH value <Cylinder>+4.00</Cylinder> CYL value <Axis>4</Axis> Axis <SE>-8.25</SE> SE value </ARMedian> <TrialLens> Trial Lens tag <Sphere>-6.25</Sphere> SPH value <Cylinder>-4.00</Cylinder> CYL value <Axis> 94</Axis> Axis <TrialLens> <ContactLens> Contact Lens tag <Sphere>-10.25</Sphere> SPH value <Cylinder>+4.00</Cylinder> CYL value <Axis>4</Axis>...
  • Page 38 LAN COMMUNICATION: Data Format </KMMedian> <R1> R1 data tag <Radius>8.01</Radius> mm data <Power>47.25</Power> Diopter data <Axis>0</Axis> Axis </R1> <R2> R2 data tag <Radius>8.01</Radius> mm data <Power>42.25</Power> Diopter data <Axis> 90</Axis> Axis </R2> <Average> Average data tag <Radius>8.01</Radius> mm data <Power>42.25</Power> Diopter data </Average>...
  • Page 39 LAN COMMUNICATION: Data Format <kPa>1.6</kPa> Corneal pressure value (kPa) <LowConfidenceLevel>2</LowConfidenceLevel> Low confidence level (3,2,1) </NTList > // measurement error with value (APL 12*3) <NTList No = "4"> <mmHg>20</mmHg> Corneal pressure value (mmHg) <kPa>2.9</kPa> Corneal pressure value (kPa) </NTList > // measurement succeeded (20) (Measurement repeated for the specified times) <NTAverage>...
  • Page 40 LAN COMMUNICATION: Data Format...
  • Page 41: Example Of Received Data

    EXAMPLE OF RECEIVED DATA Example of Measured Data Received by PC Sample printout Patient number Patient ID ) Name and sex Date and time of measurement Vertex distance Near working distance Right eye: 1st, Normal data Right eye: 2nd, Error (CYL range over error) Right eye: 3rd, Normal data Right eye: 4th, Normal data Right eye: 5th, Normal data...
  • Page 42 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC Left eye: 1st, Normal data Left eye: 2nd, Normal data Left eye: 3rd, Error (Negative SPH range over error) Left eye: 4th, Normal data Left eye: Median values Left eye: Trial lens data Left eye: CL conversion data Left eye: SE value data for contact lens Left eye: 1st, KM-measured data...
  • Page 43 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC Data to be transmitted for producing the above sample printout (1) RS-232C communication Header for AR-measured data Company name and model name IDNIDEK/RKIDNIDEK/TONOREF2 Patient number NO0006 Patient ID ) IP012345678901234567890 Data and time of measurement DA2004.01.09.14:50...
  • Page 44 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC (2) LAN communication <?xml version="1.0" encoding="UTF-16"? XML header> <?xml-stylesheet type="text/xsl" href="PKT_style.xsl"?> Style sheet < Data > Data tag <Company>NIDEK</Company> Company name <ModelName>TONOREF II</ModelName> Model name <ROMVersion>9.99 /1.00</ROMVersion> ROM version (software/FPGA) <Version>1.00</Version>...
  • Page 45 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC <Axis>95<Axis> Axis <ConfidenceIndex>9<ConfidenceIndex>Confidence index (9 to 5, E) <SE>+0.25<SE> SE value <ARList No = "5"> Measurement data tag (1 to 10) <Sphere>+0.25<Sphere> SPH value <Cylinder>-0.37<Cylinder> CYL value <Axis>86<Axis> Axis <ConfidenceIndex>9<ConfidenceIndex>Confidence index (9 to 5, E) <SE>+0.25<SE>...
  • Page 46 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC <Average> Average data tag <Radius>7.70</Radius> mm data <Power>43.88</Power> Diopter data </Average> <KMCylinder> Cylinder tag <Power>-1.88</Power> Diopter data <Axis>175</Axis> Axis </KMCylinder> </KMList > <KMList No = "2"> Measurement data tag (1 to 10) <R1>...
  • Page 47 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC </Average> <KMCylinder> Cylinder tag <Power>-1.94</Power> Diopter data <Axis>174</Axis> Axis </KMCylinder> <KMMedian> Median value tag <R1> R1 data tag <Radius>7.86</Radius> mm data <Power>42.94</Power> Diopter data <Axis>175</Axis> Axis </R1> <R2> R2 data tag <Radius>7.53</Radius>...
  • Page 48 EXAMPLE OF RECEIVED DATA: Example of Measured Data Received by PC <kPa>1.7</kPa> IOP data </NTList> // Measurement succeeded (13) <NTList No = "3"> Measurement data tag (1 to 10) <mmHg>13</mmHg> Corneal pressure value (mmHg) <kPa>1.7</kPa> IOP data </NTList> // Measurement succeeded (13) <NTAverage>...
  • Page 49: Sample Printout Of Km Data When The I/F Format Parameter Is Set To Short

    EXAMPLE OF RECEIVED DATA: Sample Printout of KM Data when the I/F FORMAT Parameter is Set to Short Sample Printout of KM Data when the I/F FORMAT Parameter is Set to Short Sample printout Patient number Name and sex Data and time of measurement Right eye: KM median values Right eye: Corneal size and pupil size measurements Left eye: KM median values...
  • Page 50: Error Message Regarding The Interface

    EXAMPLE OF RECEIVED DATA: Error Message Regarding the Interface Error Message Regarding the Interface If any error occurs during communications with the external computer, the corresponding error message is displayed on the LCD screen. Error codes regarding RS-232C communication ERROR Display Description Symptom...
  • Page 51 EXAMPLE OF RECEIVED DATA: Error Message Regarding the Interface Error codes regarding LAN communication Error code Explanation / Detail Remedy Message number • Check the LAN cable connection. • File sharing error • Check whether the IP address and the subnet mask are ERR700 Windows file sharing error correct in the “PARAMETER SETTING [NETWORK]”...
  • Page 52 EXAMPLE OF RECEIVED DATA: Error Message Regarding the Interface Error code Explanation / Detail Remedy Message number • Cable connection error • Check the LAN cable connection. ERR771 LAN cable is not connected. • Deletion of the measurement data files could not be finished in the specified time with the software that •...

Table of Contents