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

Why can't labVIEW communicate simultaneously with all of my six RS 485 devices ?

$
0
0

Hi everyone,

 

i'm writing a VI that is able to read out 8 sensors from 6 devices connected by RS 485. I'm using the VISA subVI for that. 

 

My trouble is, the more devices I connect at the same time, the slower the 8 sensor readings are coming in. One device takes 5 seconds and all six take 18 seconds, when they really should take 5 seconds, too. It seems to me, that labVIEW, the way I use it, can only read and/or write one device at the time. Is there a why to make labVIEW faster ?

 

To be more exact about my diagram. I simply have open/write/read/close structure in a subVI which is called by a subVI that handles progression of the commands and the output strings. This subVI is called 6 times in a one while loop in my main program.

 

I experimented with putting all device-work flows in one sequence structure, but there it became very obvious that more devices slow down the "rhythm" of my VI. 

 

Any help is appreciated.

cheers

 

I attach the middle subVI


Viewing all articles
Browse latest Browse all 5634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>