LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the LabVIEW dataflow model

Solved!
Go to solution

Hello everyone,

 

I have a question regarding the LabVIEW dataflow model. Please have a look at the attached screenshot which contains a part of my VI. The question is if the VISA Open (circled in red in the Picture) will be waiting for both VISA Resource Name and Error data before implementing its function, or it will be started immediately whatever comes in first?

 

Just to prevent some comments, I understand that I can try to track the VI implementation with "Highlight Execution" option - and I did it - but as my VI is a big one and I control by it some expensive devices, I don't want to ruin them without the complete understanding. From my tryings, it looks like it waits for all wired incomes before starting the implementation.

 

Thanks a lot for the time and help.

0 Kudos
Message 1 of 3
(824 Views)
Solution
Accepted by topic author Yevh

Yes, all LabVIEW functions/vis will wait for all wired inputs to be available before attempting to do its function.

 

Robert

Message 2 of 3
(798 Views)

Dataflow Basics.  "...a node executes only when data is available at all of its input terminals and supplies data to the output terminals only when the node finishes execution."

 

If you take that sentence (fragment) ultra-literally, you can predict how 99% of LabVIEW code will execute.  (Which includes "I don't know which will execute first".)  And structures are considered nodes (although what is inside of them still follows dataflow principles).

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 3 of 3
(753 Views)