|
Re: Basic Labview Programming Questions
Quote:
Originally Posted by Greg McKaskle
Some basic laws of LV execution.
When a diagram executes, all objects on the diagram execute once honoring dataflow between nodes. Breaking this down a bit, this means that no node can execute again until all other nodes on the same diagram have finished executing. It also means that no nodes will be skipped.
|
Kind of like Round Robin?
http://en.wikipedia.org/wiki/Round_robin
Quote:
Originally Posted by Greg McKaskle
Data flow wires have a few laws too.
A wire has exactly one source and one or more data destinations. The job of the wire is to deliver the same value from the source to the destinations.
Getting to the point of your question, when a wire leaves a diagram, via a tunnel, sequence local, or shift register, the wire ends, and on the other side, well, that is another wire.
|
So, if I use JBotAlan's VI, inputs to the VI come from the down-arrow, flow through the VI/Sub-VI in the blue wire. Whatever is TAKEN from the wire (before it is changed later on) gets the data from the wire (the initial input).
If a data is GIVEN to the wire, then this data flows out of the VI and reaches the upwards-arrow, which is the output of the VI.
I'm wrong, right? 
__________________
TEAM 2230 ZECHARIA'S ANGELS
2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!! --------------------------------- 2008 Microsoft Israel FRC Regional semi-finalist. 2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner. 2008 Robot Driver --------------------------------- 2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.
|