> how LabView start a node? what way does it choose to execute VI ?
This may sound like the obvious, but the best mechanism is to use
dataflow -- to use data wired from the output of one node and into
another node that needs the data. For synchronization of nodes that do
not need to share data values, there are the structure nodes, which
include the sequence, though all of the nodes affect execution.
> Is it possible to make it running like a written language
> programmation ? i.e a main loop with function calls or something else?
> because I never know which node it will execute first, even when using
> sequences...
Diagrams are found inside each structure -- the interior of the For
Loop, the While Loop, the Case Structure, the Sequence Structure, and
the Event Structure, and of course the top level of each Diagram window.
When a diagram begins execution, it propagates all of its inputs, then
picks a node that has all data inputs to execute. In a textual
language, they typically pick line 1, execute it, then go to line 2. In
LV, the way to do this is to have something flowing from node 1 to node
2, ... One very convenient way of doing this is to use the error I/O wire.
The second thing I'd recommend is to open and look at lots of example
diagrams.
Greg McKaskle