LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Value retrieval during execution of SubVI

Hello, I was wondering if someone could give me an idea as to how to display indicator values from a SubVI, while it is still executing? Basically I have a subVI which runs in an infinite loop so there is no way I can get the indicators on the master VI to display any sensible values because they don't get any until the subVI terminates. Is there any way I could dynamically retrieve the values from the SubVI so that the master VI also displays them while the SubVI is still executing?

 

Sorry if my question is a repetition...but I couldn't find anything relevant in the forums.

 

Thanks a ton.

0 Kudos
Message 1 of 4
(2,370 Views)

Hi sharmishtha,

 

search for these: globals, functional globals, action engines, notifier, queues, references

 

"infinite loop"

What kind of program do you have here? How do you stop your program?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,363 Views)

use control refnums

Regards
Guru (CLA)
Message 3 of 4
(2,361 Views)

Here is an example of how you can use control rerence..

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Download All
Message 4 of 4
(2,353 Views)