08-30-2023 11:04 AM
Greetings everyone. I am a test engineer that is having some strange issues with a test system that is utilizing a labview program written with labview 2017.
I am not the author of the software and unfortunately the software engineer is no longer here. It is utilizing modbus communications via a national instruments 485 card. Specifically an eight channel card to test 8 products at a time. We are periodically receiving timeout errors causing the test to fail. It is a pretty large program utilizing LV class architecture which I am really not that familiar with. However, after searching through the project and all of the sub VI's used within the program I finally found the VI that sets up the communication protocol.
My specific question is this: The protocol is hard coded in the program and it is different from the port settings on the computer which is running Windows 11 I believe. The program is set up to use 115,200 baud with two stop bits. The computer settings are 9,600 baud with one stop bit.
Could this cause a potential problem as far as communication timeouts or inability to periodically read registers from the processor which is an MSP 430. Does it matter that they are different or should I set the port settings on the computer to match the settings in the software?
Thank you for any guidance or information you can provide.
08-30-2023 11:38 AM - edited 08-30-2023 11:38 AM
Hello Dragon,
The baud rate is based on the UUT/Device you are trying to communicate.
08-30-2023 11:41 AM
The settings are correct for the device. I just wasn't sure if the computer port settings also had to match.