Hello again, I had another question that is somewhat related I think to this topic. I have attached a piture of my code to hopefully help with my explanation. I'm trying to execute some code contained in a case structure again, that would save my acquired spectra. The loop it is in will run continuous. I'd like to save a certain number of the spectra whenever I want, whether the loop is on it's 100th iteration or 10th. So if I'd want to save 25 spectra I could or if I wanted to save 5, I could do that, no matter how the loop is running. The code inside the case structure could be executed a the push of a save button and would save the preset number. I tried using a for loop around the save code, but this doesn't quite work right, as it saves the same file for whatever number is set. I've also tried using the while loop as a counter via the "i" icon to count the iterations. This seem to work, althought I can't get the saving down right whenever I want and to get it to stop. I need it to save for the preset number and then stop.
If anyone has any ideas or suggestions about how to do this, I'd appreciate it a lot. If any further code or explanation is needed, please let me know.
Thanks...
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.