MicroRidge sells a product called GageWay that allows you to read a Mitutoyo linear encoder through a serial (or USB) port on your computer. The serial port commands are very straight forward, but it took me a couple of tries to get the port settings right so I figured I'd post them. The function provided just sets up the serial ports and returns the current encoder value when asked for.
Phil Larimer (2021). Microridge Gageway Interface (https://www.mathworks.com/matlabcentral/fileexchange/19424-microridge-gageway-interface), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!