View Single Post
  #11   Spotlight this post!  
Unread 10-10-2008, 03:25
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Basic Labview Programming Questions

Quote:
Originally Posted by Greg McKaskle View Post
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 View Post
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.
Reply With Quote