12-31-2014 08:05 AM
I'm trying to create a local variable of a sub vi but it wont allow it.
12-31-2014 08:15 AM
12-31-2014 08:15 AM
I'm not sure what you mean by "create a local variable of a sub-vi" could you clarify what you are trying to accomplish? Local variables are associated with front panel controls and indicators, with the containing vi.
12-31-2014 09:55 AM
If you want to "replicate" a VI, you don't need a local variable. Just drop another instance of the VI or wire the output wherever else you want it.
12-31-2014 10:10 AM
I'm a student doing an assignment and am just learning this. I have a sub vi which outputs a set of data to represent temp readings. This output has to be used in several different loops and sequence structures. I seen in another prog that some features can be replicated (local variable) instead of wiring everywhere. I thiught it could be done for a sub vi also. If i open another sub vi so I have 2 the same will they output the exact same data at the same time?
12-31-2014 10:22 AM
That sounds like a use for a Global Variable. But it would be a good idea for you to show some code and explain what your application is supposed to do. We can likely get you there in a better way.
12-31-2014 12:16 PM