LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make VI output unavailable in some cases

Solved!
Go to solution

Hi all,

 

I have created a sub-VI that can process the data and output to my main VI.  In some case, I don't want to write data from the sub-VI into my variable in the main program. That means, even the output is connect to the variable, new data won't overwrite the old one. Is it possible to make it NOT output any data in some cases in the sub-VI? Or I can only add a new output (maybe a boolean) to control whether to output data outside the sub-VI (in the main VI) ?

 

Ian

0 Kudos
Message 1 of 3
(2,083 Views)
Solution
Accepted by topic author IanYuan

In LV an output is always an output. Even if you put it in a case structure and the case is not called it will still out put the standard value of each type. so if you do not wish for the value to not make changes to the main UI then you will have to program that in.

 

 

--cheers




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 3
(2,070 Views)

Hi Joe,

 

Thanks for your answering!

 

Ian

0 Kudos
Message 3 of 3
(2,025 Views)