01-31-2007 01:16 PM
01-31-2007 01:43 PM
Place all your code (including the OK button) inside an event structure and set the event for "OK Button: value changed". That's it.
If you want to keep the VI running and load a new file whenever the OK button is pressed, place a while loop around it and add an event for the stop button.
See how far you get.... 🙂
(Ideally, you should also add some logic, for example if the operator presses the cancel button at the file dialog, you probably would want to skip the rest of the operations. If this is a subVI, you might also want to set it to "clear indicators when called".)
01-31-2007 06:20 PM
01-31-2007 06:47 PM