From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-07-2016 12:35 PM
I am trying to pass the value of a subVI indicator to the mainVI indicator while the subVI is running.
At the same time I am controlling SubVI while Loop Stop condition from a control in Main VI.
(See Code Attached)
Stop button control is working fine, however the problem is that the indicator vilue is not passing to Main VI in Run time and is only passing after SuVI execution is over.
Is there iny mistake in the code, or ther is a better way available to do this???
Please Help!!!
Solved! Go to Solution.
07-07-2016 12:57 PM
07-07-2016 01:05 PM
You need to feed a reference to the meter that is located in the main VI into the sub VI through the connector panel as well. In the subVI, you take in that reference and write to the value property node inside the subVI.
You basically did the exact opposite.
07-07-2016 01:13 PM
07-08-2016 07:55 AM - edited 07-08-2016 07:57 AM
@RavensFan wrote:You need to feed a reference to the meter that is located in the main VI into the sub VI through the connector panel as well. In the subVI, you take in that reference and write to the value property node inside the subVI.
You basically did the exact opposite.
@RavensFan
Thanks!!!
It worked as you said (see attachment)