in data 11-21-2008 02:09 AM
Hi, i want to save the first 20 seconds of a signal. my problem is that when i give the imput to save data to an excel file i want that after 20 seconds stop to save automatically.
can anyone help me? thanks
in data 11-21-2008 07:36 AM
We will need some more detail about your application to answer your question. First of all, which development environment and data acquistion device are you using? Moreover, it is not clear to me if your question is related to data acquisition (i.e. I want acquisition process to terminate after 20 sec) or to Excel (i.e. I want to save data every 20 seconds).
Can you please add some more details to us?
in data 11-21-2008 07:51 AM
Hi, first of all thank you for your support. I'm using LabView 8.6 with the cDaq module. The signals that i want to acquire are a analog. I want to do these operations with my VI: i start my VI and see the signals i acquire, then i click on my save button that starts saving on excel. What i want is that after 20 sec the saving stops but not the VI.
Bye, Paul
in data 11-24-2008 08:53 AM
Hi Pollon,
a couple more details: with "save to Excel" you mean that you are using ActiveX or Report generation toolkit... or simply that you want to write the acquired data to a spreadsheet file to use in Excel? In this last case, if you know the sampling rate, you know the number of samples acquired in 20 seconds, so the number of data to write...
But maybe this is not what you mean... Let us know so that we can help you better!
Bye!
Licia
in data 11-25-2008 05:35 AM
in data 11-25-2008 06:01 AM
One simple solution could be place the Write to Spreadsheet File.vi in a while loop and connect to its conditional terminal the output "Time has elapsed" of Elapsed Time express VI.
Bye!
Licia