In LV the wire is the variable.

The controls and indicators are not supposed to be that much involved;
they are there for GUI purposes and are used to send data to and from
sub-VIs. Not much more.

If you need the data many different places wire it there. The
indicator can only show one result anyway so there is no need to wire
anything else than the final result to it. If e.g. you need to store a
previous result use shift registers, do not write it to the indicator
just to read it back.

Sure, sometimes locals can be useful in LV, but they are not to be
used as in written languages. Especially avoid locals of large data
sets; that's where the biggest penalty is. Get used to avoiding locals
and it will contribute to much better G code.

Reply via email to