LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Software communication data serial with mitutoyo micrometer

Solved!
Go to solution

I decided to create this topic so that I can help someone who is in need. It was a very difficult to decipher the serial data communication continuously from the instrument. For further questions follow my contact clovis.belcari@gmail.com. I hope it helps someone.

 

Instrument: Micrometer serie 164-164 Mitutoyo

LabView v. 2011

Download All
Message 1 of 3
(1,760 Views)
Solution
Accepted by topic author belcari_brazil

Hi belcari,

 

some notes:

  • Don't use BMP as image format, use PNG (or JPG) instead for much smaller files! (See attached converted images.)
  • Don't use BytesAtPort for serial communication, especially for devices using a TermChar!
  • Why do you need VISAWrite 3 times just to send 3 bytes to your device?
  • That "string to numeric" conversion is probably much easier when you use ScanFromString with the right format string…
  • Why is "Update Time" a DBL, when the wait expects an integer value?
  • You don't need to set default values at SerialPortInit…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Download All
0 Kudos
Message 2 of 3
(1,733 Views)

Thanks for your help my friend!!!

0 Kudos
Message 3 of 3
(1,724 Views)