We have just purchased a Mitutoyo caliper with the USB-ITN-C cable, which is a direct connection between the caliper and a USB port. This cable includes a button at the caliper which, when pressed, causes the caliper to send the current position reading and a Return character through the USB port to wherever the cursor is located in a document on the computer. In Excel, this will fill a cell and move down to the next.
There is also available a foot pedal that can initiate the data transfer.
What we want to do is to automatically take a reading at specified intervals to create a graph of position vs. time.
I asked customer support at Mitutoyo whether it was possible to have Excel initiate the data transfer, and their response was effectively: "yes, it should be possible, but we don't know how.
I searched on line, and found references to doing it with the old RS-232 serial port, but was unable to download anything, and found nothing appropriate to this relatively new cable.
So my questions are:
1. Does anyone know what character string to send to the caliper (or other method) to initiate a transfer?
2. Does anyone know how to make Excel send that character string out the USB port to the caliper (presumably via a Macro)?
3. Does anyone know how to cause Excel to send that string at specified intervals, like once a minute or once every 5 minutes (again presumably via a Macro)?
I'm especially interested in this, since I'm a Mac user, and the caliper does indeed correctly send the data to the Mac, whereas most of the stuff I saw on the internet search required Visual Basic and Windows.
Thanks for any assistance.
Dick