LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Serial Port in KA-COUNTER (Mitutoyo)

Good afternon, I´m George Cardozo, the company where I am working (San Luis Rassini Corporation) buy a Digital Read Out System call it KA-COUNTER for to read two incremental encoders , I need build a software in LabVIEW 5.1 for measure the length and thickness of a automovil suspension. The KA-COUNTER have a interface RS-232 to send this data to a PC, but I have a problems with the comunication.
 
I am trying all, but I do not know what is the problem. The data sheet of the interface is annexed and the VI (I take the sequence of this example for make a Serial comunication). I need your help. 
 
       Greetings and thanks for your Help.
 
Atn. George Cardozo.
 
0 Kudos
Message 1 of 5
(6,280 Views)

George:

Was the software purchased or supplied by Mitutoyo? If so, I would assume it should function.

Some other things to check initially:

First, verify that you are using the correct cable, document mentions the use of a cable that is wired pin for pin (not a crossover or null modem cable where pins 2 and 3 get swapped on a 9 pin connector). Next are you connected to the proper serial (COM) port on the PC and is the correct one set in the LabView software. The next thing to verify is that the baud rate and other communication parameters are set correctly on the gauge.

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 5
(6,273 Views)
Like AnalogKid rightly mentioned, you want to make sure your comm settings are correct. The default baud seems to be 4800, whereas you're using 1200 in your VI.

-Khalid
0 Kudos
Message 3 of 5
(6,272 Views)
George, Did you ever get your rs232 problem corrected with your KA counter. I am having a similar problem with multiple units at my facility using different software packages.
0 Kudos
Message 4 of 5
(5,992 Views)
 

Hi Goldbet did you checked the suggestion form analog kid and Khalid about baud rate and Cable pinout? Is your serial port working (with something else or with a Loop Back test)

 

Info on this test can be found on (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YFtECAW&l=en-US)

 

Also trying to have a newer version of VISA should help you can download it in:

 

https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html

 

What trouble do you hae do you detect some comuncation or nore? have you tried using the test panels in MAX?

 

The following links might be usefull

 

http://www.ni.com/support/labview/visa/vsteps.htm  

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1jtCAA&l=en-US

 

 

Best Regards

 

 

 

Benjamin C
Principal Systems Engineer // CLA // CLED
0 Kudos
Message 5 of 5
(5,936 Views)