Quote:
From what I can tell, your variables in labview are either
controls/indicators, or global variables.If you want to write to a
control, or read from an indicator, then you are forced to use a local
variable
Not quite..
If you right-click an indicator or control, you can select Create
then
The application note states that everytime you use a local variable,
a copy of variable is made. Can someone explain to me why this is?
LabVIEW has to ensure that everything is reading and writing from one
master copy, so simultaneous reads and writes do not collide.
Also, if I am writing to an
In your example, there's no real reason to have two separate while
loops. You could have two different case statements in a single loop
or just combine both math operations into a single case. That being
said, you may have a situation where a local variable is called for.
If it's something like a
I guess this didn't help you..
Sorry!!!
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