Eye devices and clinic PCs

Give each clinic PC its name, connect autorefractors, lensmeters and refractor heads by cable or network, and save their readings into the visit.

Clinic ownerDoctorAssistant

ESCAI reads measurements straight from your eye devices: autorefractors, lensmeters and refractor heads. A device is plugged into one PC (by a serial or USB cable) or talks to it over the clinic network. When the device sends a reading, ESCAI puts it into the visit that is open on that PC, so nobody types the numbers by hand.

Two screens in the menu, under Basics, do this:

  • Machines: the clinic's PCs and phones. Each device belongs to one of them.
  • Ophthalmic Devices: the eye devices and how each one is connected.

Give this PC its name

ESCAI registers each PC by itself the first time someone signs in on it while the server is reachable. Open Machines to see the list and rename a PC.

  1. Open the menu, then Machines.
  2. The PC you are working on is highlighted and shows ★ This Device.
  3. Press the pencil to change the Machine Name and its Short Name (up to 5 letters). The short name appears in the users' log and in cash shifts.
The clinic's PCs. The highlighted one is the PC in use.
  1. 1This PC. The orange button next to it (Unselect) removes the selection.
  2. 2Another PC of the clinic, with its short name and number.

If no PC is selected, the screen shows Add This Device: press it to create this PC's entry (the server must be reachable), or press the round tick (Select as this device) on a row that is already this PC.

See the connected devices

Open the menu, then Ophthalmic Devices. The band at the top names this PC and counts how many of its devices are connected now. Under it, each device has a card with its type and model, its status, the connection, where its readings are saved (Saves to) and the PC it is plugged into. This Machine and All Machines show how many devices each holds.

All the clinic's eye devices, on every PC.
  1. 1Show the devices of every PC. This Machine shows only this PC's devices.
  2. 2A Topcon autorefractor that sends its readings to this PC over the network.
  3. 3A device on a serial port of this PC.
  4. 4The link is working. Orange Connecting, red Error (point at it to read why) and grey Offline need a look.
  5. 5A device that belongs to another PC.
  • The pencil edits a device of this PC. For a device of another PC, the copy button (Clone to this machine) makes a copy for this PC.
  • The magnifier with a pulse line (Diagnostics) says why a device of this PC does not connect or is slow. It turns orange or red when ESCAI found something to fix; see Find out why a device does not connect or is slow.
  • The red bin deletes the device. Deleting a device of another PC removes it from that PC too; ESCAI warns you first.
  • The sync button at the top fetches the devices from the server and reconnects them.
  • The small tags at the bottom of a card say what the device does by itself: Auto (it saves each reading into the open visit) and K (it saves the K readings too).
  • A device that cannot connect has a red edge, and its card shows the error under the details.
  • If a USB device stops answering, its status turns red Error and the rest of the app keeps working. Unplug the device's USB cable and plug it back in; the app reconnects by itself within a few seconds.
  • A device that was switched off and on, or a PC that slept, can leave the port open but dead. ESCAI checks the port every few seconds and reopens it by itself; a port that delivered nothing for three minutes is also reopened, so a reading sent after a long quiet spell still arrives. Changing a device's name or where its reading goes no longer closes its port.

Add a serial device (NIDEK, Tomey, Huvitz…)

  1. Plug the device's cable into the PC and turn the device on.
  2. In Ophthalmic Devices, press Add device.
  3. Type a Device Name, for example the model written on the device.
  4. Choose the Type: AutoRef, Phoropter or Lensmeter.
  5. Choose the Model. ESCAI fills in the maker's serial settings (Baud, Data bits, Parity, Stop bits); change them only if the device was set differently.
  6. Choose the Save Target: the part of the visit that receives the reading. An autorefractor goes to Autoref, a refractor head to Glasses, a lensmeter to Old Glasses; Cyclo is for readings taken after cycloplegic drops.
  7. Keep Serial selected and choose the Port (for example COM3). The round arrow next to it lists the ports again after you plug in a cable.
  8. In Live test, press Start Test, then send a measurement from the device (its print or send button). A green tick and the reading in the table (right eye, then left eye) mean ESCAI understood it. Press Stop Test.
  9. Press Save.
A NIDEK lensmeter on COM3, after a test reading.
  1. 1Where the reading goes in the visit.
  2. 2The connection: Serial, Folder or TCP/IP.
  3. 3Serial settings, filled in from the model.
  4. 4Save each reading into the open visit by itself.
  5. 5Listen to the device and show what it sends.
  6. 6Copy what the device sent, for support.
  7. 7Send the device and what it sent to the ESCAI team, when the reading is wrong or the device is not in the list.

The models in the list for each type:

TypeModels
AutoRefPotec, Topcon, Nidek, Tomey / Rodenstock, Shin-Nippon (XML)
PhoropterPotec, Nidek, Phoromat / TAP, Topcon (XML)
LensmeterGeneric, i-Optic, Nidek, Huvitz, Tomey, Zeiss Visulens, Topcon (XML)

On a wide screen the window has two columns: Device and Connection on the left, Options and Live test on the right. On a phone they follow one another.

The switches in Options:

  • Enabled: turn a device off without deleting it.
  • Apply automatically: save each reading into the open visit by itself (see Readings in the visit below).
  • K readings: also save the keratometry (K1, K2 and axis).
  • Round axis: round the axis to the nearest 5°.
  • Verified: an administrator marks a device whose test reading was correct.

While the test runs, ESCAI also says what is wrong under the status line: the port is in use, nothing arrives, the speed settings do not match, or the data belongs to another model (with a button that switches to it).

Connect a Topcon autorefractor by serial cable (RM-800, KR-800)

A Topcon autorefractor on a serial (RS-232) cable sends plain text. ESCAI reads it with the same model, Topcon.

  1. On the Topcon device open the settings, then Comm: turn Use of Output port ON (it is off when the device is new), and keep Communication Format OLD and Baudrate setting 2400.
  2. In ESCAI add the device with Type AutoRef and Model Topcon.
  3. Choose Serial and the Port. Choosing the model selects Folder or TCP/IP first, so press Serial yourself.
  4. Keep Baud 2400, Data bits 8, Parity None and Stop bits 1. If the device is set to 9600, type 9600 in Baud.
  5. Press Start Test, measure, then press the device's print button. The device shows RS-232C SUCCESS, and the box in ESCAI shows sphere, cylinder and axis for each eye and the PD.
  6. Press Stop Test, then Save.

ESCAI saves the cylinder with the sign the device sends. If it arrives as a plus cylinder and you write minus cylinders, change CYL on the device.

Connect a Topcon autorefractor over the network

Over the network, Topcon devices send their results as XML. There are two ways:

  • A device that saves XML files into a shared folder: choose Folder and pick the folder in XML Folder.
  • A device with TCP/IP transfer (for example the KR-1W): it sends each result to the PC over the network. Follow the steps below.
  1. Add the device with Type AutoRef and Model Topcon.
  2. Choose TCP/IP, then This PC receives.
  3. Keep TCP port 50000 unless your device uses another port.
  4. The box under TCP port shows what to type on the device: Server IP Address (this PC's address on the clinic network) and Server Port No.
  5. On the Topcon device, open LAN, choose TCP/IP transfer and enter the two values.
  6. Press Save. The device row shows Listening :50000.
A Topcon KR-1W that sends its readings to this PC.
  1. 1The device connects to this PC.
  2. 2The port this PC listens on.
  3. 3The address and port to type on the device.
  4. 4For a device that waits for the PC to connect to it: type its IP address and port instead.

Find out why a device does not connect or is slow

ESCAI keeps a connection log for each device of this PC: when its port was opened, every change of state with the error message, how long each message took to arrive, whether the model could read it, and where the reading went. From that log it names the likely cause and what to do about it.

  1. In Ophthalmic Devices, press the magnifier (Diagnostics) on the device's row.
  2. Read Likely cause. Each card says what is wrong and how to fix it.
  3. Connection log lists the steps, newest first, with their times. Failed steps are red.
Screenshot not available yet
eye-devices.diagnostics
A lensmeter whose serial port is held by another program.

The causes ESCAI can name:

What you seeWhat it means
Another program is using COM3The port is open in the device's own program, or two devices in the list use the same port.
COM3 was not found on this PCThe cable is unplugged, or Windows gave it another COM number.
The USB driver of COM3 stopped answeringUnplug the device's USB cable and plug it back in.
Connected, but the device has sent nothing yetThe device's data output is off, its baud rate is different, or the cable is the wrong type.
Data arrives but cannot be readBaud, Data bits, Parity or Stop bits do not match the device.
The message arrives in piecesMessage timeout (ms) is too short.
The data looks like NidekAnother Model reads this data: choose it.
New data formatESCAI does not read this device yet: send it (next section).
The connection dropped 3 times in the last 10 minutesA loose cable, a USB hub, or USB power saving.
Readings take 6.2 s to arriveThe card says where the time goes: the device sending, or a Message timeout (ms) that is too long.
The last reading is waiting in the cable iconThe cable is fine. No visit was on screen, so the reading waits for Save to Visit.

For a network device the cards name the address: it refused the connection, cannot be reached, or the port is used by another program on this PC.

Send a device ESCAI does not read yet

When a device sends data that no model in the list reads, ESCAI calls it a New data format. Send it to the ESCAI team and the device is added in a coming release.

  1. Add the device with the Model Other (not listed), press Start Test and send a measurement from the device.
  2. Press Send device to ESCAI in the test box. For a device already in daily use, the same button is on an orange line at the top of Ophthalmic Devices and in its Diagnostics window. The orange line goes away once the device was sent.
Screenshot not available yet
eye-devices.new-format
A device whose data ESCAI does not read yet.
  1. Check the Device maker and model, and type in What the device's printout shows the values printed for the same measurement. They tell the team which number is which.
  2. Add a phone number if you want to be told when it is ready, then press Send. ESCAI answers with a reference number.
Screenshot not available yet
eye-devices.send-device
The device on its way to the ESCAI team.

Readings in the visit

When a reading arrives, ESCAI first tries to save it by itself. This happens only when Apply automatically is on, exactly one eye visit is open on the screen of this PC, and the fields in the target section are empty or already hold the same numbers. ESCAI never overwrites numbers someone typed.

Listen at the device: one short ding means the reading reached ESCAI and waits in the cable icon; a two-note chime means it was saved into the patient's visit. No sound means nothing readable arrived. (Settings → General → Sounds turns them off.)

The autorefractor's PD goes to the visit's IPD box. It fills an empty box, or one filled at an earlier visit, but never replaces an IPD typed in this visit. A PD under 38 mm is one eye's value and is left out.

Otherwise the reading waits in the cable icon in the top bar:

  • white: no reading yet;
  • red with a number: how many readings are waiting to be saved;
  • green with a tick: every reading was saved to a visit.

To save a waiting reading:

  1. Open the patient's visit.
  2. Press the cable icon in the top bar.
  3. Check the device, the time and the numbers.
  4. Change Save To if the reading belongs to another section.
  5. Press Save to Visit. The window closes by itself and the visit says the reading was saved.
A Topcon reading that arrived while no visit was open.
  1. 1The cable icon. Red: a reading is waiting.
  2. 2Not yet in any visit. After saving it says Saved.
  3. 3The visit section that receives it: Glasses, AutoRef, Cyclo or Old Glasses.
  4. 4Sphere, cylinder and axis for each eye, then PD and K readings.
  5. 5Active when one visit is open.

A saved reading can be saved again into another visit; the window then says Saved to 2 visits, and the visit warns that the reading was already saved to another visit. Check that it belongs to the patient on the screen. The reading window is always in English.

Several patients in a row

The doctor can measure two or three children at the autorefractor and save all their readings when back at the desk. ESCAI keeps the last 10 readings on this PC, with the time each one arrived, until you sign out.

  1. Open the first child's visit.
  2. Press the cable icon, then History.
  3. Press that child's reading (check the time and the numbers). It opens with the tag Earlier reading.
  4. Press Save to Visit.
  5. Open the next child's visit and repeat.
Three readings measured one after another. The first is already saved.
  1. 1The newest reading, marked Latest.
  2. 2A saved reading shows the patient it went to.
  3. 3Take a reading you do not need off the list.
  4. 4Back to the reading.

Enter a reading from a photo of the printout

No cable between the device and the PC, or a device ESCAI does not read yet? In the phone and tablet app (Android, iPhone, iPad), photograph the paper the device prints and ESCAI reads the numbers from it. The photo is read on the phone itself and is deleted when the window closes; it leaves the phone only if you press Read with AI.

  1. Open the patient's visit and go to the refraction section.
  2. Under Autoref (or Cyclo, or Old Glasses) press Printout photo. On a tablet it is the small scan icon beside the copy buttons.
  3. Choose Take a photo of the printout, or Choose a photo for one already taken. Hold the phone straight above the paper, close enough that the paper fills the picture, with no shadow on it.
  4. The window shows the photo and, under it, the numbers ESCAI read. Compare every number with the photo (pinch the photo to enlarge it) and type over any box that is wrong.
  5. Press Fill into Autoref. The numbers go into the visit's boxes; save the visit as usual.
The numbers read from a photo, before they go into the visit.
  1. 1A green tick beside the eye: its sphere and cylinder agree with the S.E. printed under them.
  2. 2An orange box could not be confirmed. An empty one was not read: type the number from the photo.
  3. 3Let the AI read the same photo when boxes stay empty or orange.
  4. 4The PD goes to the visit's IPD box.
  5. 5Take another photo.
  6. 6Put the numbers into the visit. Scroll down to choose Cyclo, Glasses or Old Glasses instead.

ESCAI reads the row printed just above S.E. for each eye (the device's final value), the PD, and the K readings (R1, R2 or H, V) when the paper has them. The K boxes are always orange, because the paper has no check line for them.

Read with AI sends the photo to the AI service, which copies out the printed lines; ESCAI then picks and checks the numbers the same way. It needs internet and AI turned on for the clinic (an ESCAI AI plan, or your own Gemini API Key in the AI settings). On a clinic server that was not updated yet it answers Reading with AI needs the latest clinic server update. Nothing else in the window sends the photo anywhere.

The photo is used for the reading only and deleted when the window closes. To keep it, tick Keep the printout in the patient's scans before Fill into: the photo is then saved with this visit in the patient's images, under a scan type named for the autoref or for printouts when the clinic has one, otherwise General. ESCAI remembers the tick on this device for the next printout. The tick shows only when the printout is photographed from a visit.

Send a printout photo to the doctor's PC

The phone does not need the patient's visit open. From the Home screen it can photograph the printout and send the numbers to every device of the clinic, where they arrive like a reading from the autorefractor itself.

  1. On the phone's Home screen press the scan button in the search box, then Device printout.
  2. Take the photo, compare the numbers with it and correct them, as above.
  3. Press Send to the clinic devices.

On each PC the reading appears in the cable icon as Printout photo. It saves itself into the visit only where exactly one visit is on the screen and its patient is with the doctor now (booking status In Progress), into empty Autoref and K boxes. Everywhere else it waits in the cable icon for Save to Visit. A PC with its own autorefractor set up follows that device's Apply automatically and K readings switches.

The same can be done with a printout kept in the patient's file. In the patient card's Scan tab, press the scan icon (Read the numbers of a device printout) on a saved image, in the full-screen viewer, or on a new picture before you save it. Check the numbers and press Send to the clinic devices. On a PC, which cannot read a picture by itself, the window opens with Read with AI.

From a saved scan the window has a second button, Fill this patient's visit instead. The numbers then stay on this device and go only to this patient: if the patient's visit is open they fill its empty Autoref and K boxes at once; otherwise they wait 30 minutes for you to open it. A box that already holds another value is left as it is.

Where devices work

Eye devices work in the Windows and macOS app and on Android (a serial device through a USB cable, shown as USB device, or over the network). Folder is not offered on Android. On iPhone, iPad and the web app the cable icon does not appear. Printout photo works in the Android, iPhone and iPad app.

See also the eye examination, folder watchers for OCT and fundus images and the visit screen.

Watch it on video

Last updated: · Matches ESCAI 1.35.0