LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to update popup values dynamically

Hi,

 

I have a popup that shows 5 different strings.

 

I use a button(Show data) in the main vi to call the popup. I have placed the subvi in event structure which acts as popup.

 

Whenever i press  "Show data" button, the popup is shown with the value updated at that moment when it is called. But the main system runs contiuously, so the value will be updated in the background. If i close the popup and open again it will show the updated data upto that point. How do i monitor those values in the popup window dynamically. To be precise I need see a value change in the popup dynamically without closing the popup.

 

Kindly help me in this regard.

 

Thanks,

 

Regards,

Arvinth 

0 Kudos
Message 1 of 2
(2,381 Views)

Are these values coming from controls/indicators on the main VI? If so, you can use control references so the subVI can directly access them via the "Value" property node. There are examples that ship with LabVIEW to show you how to use control references.

 

As far as the popup is concerned, be aware that the event structure cannot continue until the popup has finished running - i.e., you've closed it. To have it popup and then return to the main VI you will need to launch the VI dynamically. You can do a search in this forum on launching a VI dynamically, as this comes up a lot. 

0 Kudos
Message 2 of 2
(2,376 Views)