Avshi,
That depends! Don't even try to think of things as being event driven in
LabVIEW unless you know how to do it. You need to think of things as being
data flow driven. The value that flows through wires into the controls of
the subVI will determine the values of those controls at the instant the
subVI is called. The data then flows through the wires in the diagram and
out the indicators of the subVI into the wires in the diagram of the main
VI. The value of a control is the value of the control and the values flowing
through the wires in the diagrams are the values flowing through the wires,
except for the instant the data is read from or written to a control or indicator.
I am not trying to confuse the issue or avoid the question,but if these
leaps of logi
c to event driven code are made before a solid understanding
of data flow is acquired, then you will create problems such as race conditions
and unpredictable code.
-Jim
"aviad frydman"
wrote:
>hi,>let B be a sub-VI of A.>is it possible for B to be "transparent" - that
is, if A has controls>connected to B's controls, and indicators connected
to B's indicators, then>changing a value in A *while B is running* will affect
the value of the>controls in B, and the indicators in A will show the ongoing
changes in the>values in B's indicators?>hope I explained myself clearly
enough.>>many thx,>Avshi Avital.>Quantum Physics Lab, Bar Ilan University,
Israel>>