06-28-2017 03:39 AM - edited 06-28-2017 04:01 AM
Edit - I have solved my issue, please delete/close etc
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!
Solved! Go to Solution.
06-28-2017 04:00 AM
This topic can be closed/deleted.
The solution? Remember to set the reentrant properties...
06-28-2017 07:13 AM
...but above all, remember to post to the correct board (LabVIEW board)