12-17-2008 10:32 AM
I tried to search for the answer but no much luck. My situation is that I used a sub-vi containing a while loop in my main vi. Now I need to see the while loop sequence number (i) from that sub-vi in my main vi. In the sub-vi I have the indicator to show this loop sequence flawlessly, but that's inside the loop itself. If I use this indicator as a terminal in the sub-vi, I can only see the last sequence number in the main vi after the loop finished its execution.
Is there a way to accomplish this? Thanks.
12-17-2008 12:07 PM
Hi nobody,
well easiest (but error prone) way is to use globals to move data from subvi to main vi. You can also give the reference of the main vi indicator to the subvi to write to a "value" property node. You can also use queues, and there are other techniques too
12-17-2008 11:13 PM
Is this question related to one in this thread? If so, please try to stick to a single thread and avoid confusion.
Thanks,
Mathan
12-18-2008 09:03 AM