04-26-2012 01:42 PM
hello folks,
i am new to LABVIEW and am tring to learn it using the book LABVIEW FOR EVERYONE by Jeffrey Travis and Jim Kring.
i am stuck in chapetr 6 of the book containing the FOR and WHILE LOOPS.
i am unable to understand the effect of putting the VI inside/outside of the STRUCTURE.
please advice where shall i find theory about the above stated topics that is easy to understand and practice.
thanking you in anticipation of swift responses.
04-26-2012 01:45 PM
What's inside the structure happens every loop iteration until the stop condition is met; either every element in an array has been used in the case of a for-loop, or a boolean output changes for the do-while loop.
Outside the structure, the VI will only execute once (generally).
04-26-2012 01:58 PM
There are about 60 pages in chapter 6. Would you like to narrow it down a bit?
If you are stuck with figure 6.4, I suggest you duplicat the code they show, put you VI in Execution Hightlighting mode (turn on the light bulb) and watch what heppens when.
Ben