08-10-2011 08:17 AM
Hello,
i have a sub-vi that is looping on a comport until it receives a special-character (\r\n) then the loop stops.
Now i need to execute this vi twice at the same time. Currently i just copied and renamed it - this is working.
But is there also another way so that i only have one vi?
Thanks for help
08-10-2011 08:25 AM
You can make the VI re-entrant. Be aware that this has its own caveats. If they're sharing hardware, then this won't do you any good, for instance.
You can read about re-entrancy in the LabVIEW Help.
08-10-2011 09:28 AM
Parallel For Loop?
08-10-2011 10:11 AM
A parallel for loop would not allow the second instance to run until the call to the first instance of the VI is finished.
08-10-2011 12:05 PM
Thanks smerc. Sorry OP for the off-topic.