08-29-2005 05:10 AM
08-29-2005 05:29 AM
This can very easily be accomplished by using a case structure to check if it's time to pause and if it is, have a piece of code which will not complete until your condition has been filled.
For example -

The real question should be what are you trying to accomplish? That should help in determining the method of the solution.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
08-29-2005 06:39 AM
Thanks for the idea. Could solve my problem.
Sandy
08-30-2005 01:00 PM
08-30-2005 01:05 PM
08-30-2005 01:23 PM
Yes, you can have indexing array inputs into a while loop, just change the input tunnel to indexing. If the array gets depleted, you'll get the default value for that data type for later iterations.
@Novatron wrote:
On the surface, yes, but for loops have functionality that while loops do not. You can't wire an indexing input to a while loop, and a while loop will always execute at least once, whereas a for loop may not.
08-30-2005 01:33 PM - edited 08-30-2005 01:33 PM
Message Edited by Novatron on 08-30-2005 02:34 PM