04-04-2005 11:58 AM
04-04-2005 12:16 PM
04-04-2005 12:21 PM
04-04-2005 12:22 PM
04-04-2005 02:00 PM
04-04-2005 02:04 PM
04-04-2005 02:34 PM
04-04-2005
02:37 PM
- last edited on
11-13-2025
04:03 PM
by
Content Cleaner
There are 2 ways you could do this:
1. Add a wait. For example, you could add a button which should be pressed once all the data has been input and have an event structure waiting for a value change of that button outside the while loop. Then, wire something from within the structure and connect it to the while loop. The while loop won't start until the event structure is finished.
2. When the front panel is open, right click on the vi icon and select "show connector". You can use this to pass data to the subVI.
In both cases, you should watch out for what you read from the file. I'm not sure what it does, but if you need it first you will have to change the VI. Also, do you really need to read the file in every iteration of the loop?
One last thing, the panel of that VI is very big and hard to follow. You should use a tab control to keep the size down and to have it more organized and convenient.
To learn more, I suggest you read the LabVIEW user manual. Also, try searching this site and google for LabVIEW tutorials. Here is one 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.