02-17-2006 09:35 PM
02-20-2006 03:42 PM
Unagi,
I am not exactly sure what you are trying to do, but I can
take a guess. When performing analog input measurements the waveform is
composed of t0, dt and Y. You can manipulate any of these values after
the data has been acquired. If you set up the task the waveform should
contain an absolute time, not relative. If relative is required, as you
suggested, this can be done post acquisition with the build waveform components
vi.
I do not understand exactly what you want do with the
timestamps for the analog output. Do you
want to use the relative time computed from the analog input data for the
analog output waveform? If so, you could
build a waveform and use the t0, dt from the analog input processed/relative
time waveform. Again this would be done with the build waveform components
vi.
Finally, a binary file would reduce the amount of memory
required when saving your data. A binary file is fairly simple to save
and open in LabVIEW. There are a couple examples in NI Example Finder (i.e.
Write Binary File and Read Binary File) that show you how to write and read
binary files. If you write the data to a binary file during acquisition,
and modify/split it later you could open the binary file, retrieve the data in
LabVIEW, and write a small subset to a text file. Alternatively, you could
perform some analysis of the data during acquisition and only save the set of
data that you require post acquisition.
Regards,
Jesse O.
Application Engineering
National Instruments
02-20-2006 06:42 PM
02-21-2006 10:40 AM
Unagi,
The waveform data type keeps track of Y, dt and t0, where
t0 is the starting time of the acquisition. The time for each point is
then calculated based upon the dt. This means that if you pause your data acquisition
(using a counter to generate the sample clock) the duration of the pause is not
tracked. So you are correct is seeing that the pause is missed.
Jesse O.
Application Engineering
National Instruments
02-21-2006 11:43 AM