01-28-2014 04:09 AM
Dear All,
I want to know how labview form threads from a user created VI. I have a VI in which I have a while loop that contains a wait function and some other code both are running in parallel(data independent). I want to know the following things with reagrd to this VI
1. How labview creates threads form this VI, how many threads will be created?
2. If we are not using any sequence structures inside the loop, whether labview will follow any particular repeated sequence for this code?(Like it will execute wait function first, and code after that ...) or labview will follow any random order for this threads for each loop iteration?
01-28-2014 04:53 AM
Hi pkmishra,
search the AppNotes on ni.com, I remember some older explanations how the compiler works by building "clumps" of code…
For question 2:
Once the code is compiled it will behave always the same, as the code doesn't change between iterations of the while loop. But that wait will always be executed in parallel to the math part!
01-28-2014 05:22 AM
Hii GerdW,
Can you please suggest me some links ..
Thanks
PKMishra