03-22-2021 11:09 PM
Hi all,
I wrote a vi that counts 1 to 10 and saves the value into an array, and the array values updates during iteration and also there is a progress bar
so i can monitor the loop status.
It functions well, but the problem is when i build this vi into a subvi, and calls it in another vi, it won't REAL-TIMEupdate the indicator values
during iteration
Hope someone could help to find way to solve this problem~
Solved! Go to Solution.
03-23-2021 12:23 AM
I recommend you learn some basics about LabVIEW and dataflow. There are plenty of resources here on ni.com. The outputs of the subVI will not be available until the subVI finishes execution. If you want to change the value or appearance of an indicator or control from a subVI, you need to use a reference of that control. Pass the reference to the subVI and use method or property nodes on that reference.
04-09-2021 10:44 AM
Thanks a lot, I've tried to use reference and property node and i works!