06-17-2005 02:10 PM
06-17-2005 02:29 PM
06-20-2005 02:42 AM
@sunny dee wrote:
Hi, I'm using the Open/Create/Replace File.vi. I have it set up so that once the user clicks a button to start logging data, the Open/Create/Replace File.vi is called. Once this is called a window pops up asking the user where to save the file. Is there a way to check whether or not the user pushes the cancel button?
Also, is there a way to check if the file is open? I'm using an event structure, and sometimes I will click on the button to stop recording data, which will trigger the event structure to close the file, but as soon as it's finished closing the file the code will resume where it left off which in some cases it will try to write to the file (which is already closed) and I get an error message.
Thanks!
Sunny
06-21-2005 12:04 PM
06-21-2005 01:22 PM