Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

RS485 Communication with multiple devices problem

$
0
0

Dear all,

 

I have been working on creating a software to communicate with multiple devices with RS485 protocol. I have created my own VIs to only use VISA Open, VISA Write, VISA Read and VISA Close and no additional driver.

 

As the devices require different configurations (Baud rate, Parity, etc.), I need to open and close the COM Port each time I want to send or read something. Everything seems to work fine but after a random time of execution (may be 5 minutes, 15 minutes, 20 minutes,...), the line seems to be busy and no device can then give a positive answer until I turn off everything and restart.

 

I am using a temperature sensor (Tecon), two pressure sensors (Keller), one MFC (Bronkhorst), one gauge (Pfeiffer) and eight RS485 Relays and I am running a loop every 2 seconds to make measurements.

 

I will try to insert an error detector in each device's VI but if someone has already experienced such an issue, I would be very glad to hear some advice !

 

Thanks in advance for your answer !

 

Bests

Mathias


Viewing all articles
Browse latest Browse all 5565

Trending Articles