LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing elasped times into a spreadsheet

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,

 

 

 

0 Kudos
Message 1 of 3
(2,150 Views)

I forgot to say a thanks!

 

 

THANKS!

0 Kudos
Message 2 of 3
(2,149 Views)

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.

0 Kudos
Message 3 of 3
(2,147 Views)