06-06-2014 09:24 AM
Is there any good documentation out there that discusses data flow methods instead of using Local or Global Variables?
06-06-2014 09:44 AM
Not at the top of my head because it really depends on what exactly you are trying to do.
Most of the time, the abuse of locals can be simply replaced with a wire. Second most common reason can be solved with a shift register (to pass data from one iteration of a loop to another). After that, you are looking into Notifiers, Queues, Action Engines, Data Value References, etc.
If you have a specific situation to talk to, we can offer all kinds of alternatives.
06-06-2014 09:47 AM
Yes, but the basic concept is simple:
Unlike primitive languages such as C++ or Java where execution order is defined by the order of words in a file, execution of a LV node (VI, structure, whatever) in is determined by when it gets the data it needs. Any node that has all its inputs satisfied will begin executing in parallel, regardless of where they are on the diagram, and regardless of how many of them there are.
Likewise any node will only output data when it finishes executing.
Mike...