LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

execution order

In a sub VI, there are a WAIT function VI (in Time &Dialog subpallete) and some other functions. Which will be executed first, the WAIT or other functions?

Thanks a lot.

Kevin Qi 510-683-7610
0 Kudos
Message 1 of 3
(2,702 Views)
I don't think anyone can tell without looking at your diagram...

However, you can force a specific order by using a sequence structure. Put the wait in frame 0 and the other stuff in frame 1. Now the wait will run first...


Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 2 of 3
(2,702 Views)
Its hard to say without a look at your vi. In general the only way to determine execution order is by data flow.

Brian
0 Kudos
Message 3 of 3
(2,702 Views)