Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Parallel while loop sub vi not executing simultaneously

$
0
0

Hello,

 

please see attached the vi and relevant sub-vi (while loops labelled "Single Readings").

 

I am trying to talk to two identical instruments attached via  RS-485 to USB converters to two USB ports on my computer. The while loops holding the sub-vi's that are responsible for polling the instruments do appear to execute in parallel, but the sub-vi's themselves will only execute one at a time. I must switch off the first, in order for the second to start.

 

I think this has something to do with how I am passing the control references to the front panel, but i'm also wondering if it could be due to having two copies of the same sub-vi trying to run with different inputs?

 

Thanks in advance for any help you can give!


Viewing all articles
Browse latest Browse all 5339

Trending Articles



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