08-12-2025 05:43 AM
Hi folks,
I have been working on performing UART communication between multiple devices and so I chose RS485. I am using Waveshare USB to RS485 and pyserial library. I am continuously polling the registers in each of the device. At some point the some board does not respond for some random registers. And then it completely stops responding. I mean that board. I will be polling the boards in a infinite loop.
Now when I changed the logic in my program to open port -> Perform something -> Close port instead of opening port only once and poll the board in infinite loop there is no issues.
Any suggestions on what might be wrong in the actual case ?
08-12-2025 07:47 PM
This is a NI forum.
Are you using NI-VISA API?
08-15-2025 02:57 AM
Hij,
What is the distance? Why use RS-485?
Kees