03-12-2010 04:29 PM
Hi,
I have three gates which I am timing to see how long they are switched on for. I am trying to write the elasped time data into a spreadsheet, however every time a new elasped time is created it asks me which file to save the data to! I have put a TRUE on append to new file, which I thought would solve the problem. How can I stop this happening so that all elasped times are transferred to the file without the user being prompted and the subsquent reading being overwritten?
Please see my file attached,
03-12-2010 04:30 PM
I forgot to say a thanks!
THANKS!
03-12-2010 04:44 PM
As the help for the function explains, if the file path input is empty, you get prompted for the file name. Use a front panel control or at least a shift register so that after the first prompt, you pass it back the next time.
Using a timed loop with an event structure inside does not make any sense to me. You could also eliminate most of those local variables.