If you are using Labview 6, you can pass control references to subvi's and
the controls in the parent vi can be updated from the subvi using a property
node while the subvi is still running. This is a new feature in Labview 6.
"L. Ravi Narasimhan" wrote:
>I have an application that requires me to make measurements in a>particular
order at specific times and to update a set of indicators>as the measurement
progresses. I use a sequence structure in which>different frames write to
local variables keyed off the indicators. I>now need to replicate this sequence
in a couple of other places.>>Unfortunately, copy/paste of the sequence results
in new front panel indicators and>variables being created. While I could
change each one manually, with
>25 frames and multiple locals, the time required
is huge and the>possibility of errors is high as the number of copy/pastes
increases.>>Creating a subVI has been problematic as the indicators must
update as>I progress through the sequence. The subVI terminals update only
on>conclusion, as far as I have been able to find. Globals are an>option,
but, I am wary of using them.>>I believe the creation of new variables on
paste is how LV is>structured (ie. this is not a bug but the way things are).
I need a>workaround, though, and would appreciate suggestions.>> ---
Ravi>>>--->Ravi Narasimhan>Dept. of Physics and Astronomy, UCLA>http://www.physics.ucla.edu/~oski>