11-04-2008 12:58 PM
thef,
I would recommend using the Basic Serial Read and Write.vi example in LabVIEW to send a serial command to the Mitutoyo. You can find this example by searching "visa" inside of the Example Finder. As suggested by MarcC, try doing a read by sending a R character along with a carriage return. Your command would then be "R\r". You could also send this command from Measurement and Automation Explorer by using the VISA Test Panel.
05-28-2010 07:51 AM
Hi,
Here is something about Mitutoyo rs232 communication. It explains how works the communication.
Otherwise if you want to communicate with your device in Labview, you have to learn the SCPI language. Which you can find on the internet.
Hope it will helps someone.
Floow
10-06-2015 05:09 PM
The following document explains the way to solve your problem:
I hope that works for you. We collect the data with Matlab, if you are interest in knowing how let me know.
Regards.
MSc. Erik E. Ramírez
01-18-2016 09:30 AM
Hi,
I have the same problem with an Mitotuyo ID-H0530 and a serial USB convertissor DMX-1 USB.
I would like to read the value of the mitotuyo.
In VISA Test Panel, I have a ressource name ASRL12::INSTR "COM12" with 9600 bps, 8 data bits and 2 Stop bits.
This parameters are the same in Windows 7 USB port and in settings of mitutoyo.
In VISA test panels, in Inputs/output I read this command "R\r" but I have an error.
I don't understant why I used the letter R... In datasheet, It explains in p 4.2.4 "data output GA**CRLF" with ** indicates an ID and CRLF represents "CR" (carriage return)
In the settings of mitutoyo, this ID is 00, I try in VISA tests paenls this command GA00CRLF but It doesn't work...
Can you help me please?
01-18-2016 09:36 AM
01-18-2016 10:26 AM - edited 01-18-2016 10:47 AM
Thank you for your help but the command GA00\r but it doesn't work "Read Operation Error"
01-18-2016 10:35 AM
@JoanCristobal wrote:
Thank you for your help but the command GA00\r but it doesn't work
That should probably be GA00\r\n in order to match the CRLF sequence from the manual.
01-19-2016 02:18 AM
finally if I execute in continous mode with the command GA00\r , I get a respons: 911
If I move the mitotuyo, this respons doesn't change...
In VISA Read, what is the format of read buffer? It"s a string?
How I convert in millimeter?
thanks
01-19-2016 02:55 AM
I join my vi.
thanks
01-19-2016 03:15 AM