Greetings,
With regards to logging analog input data to file, I would suggest that you examine the examples available in the following location:
Examples >> Hardware Input and Output >> DAQ >> Analog Input >> Stream to Disk
Because you are interested in a finite number of samples, you should look at Acq N Scans to File (wdt).vi.
With regards to logging period measurement data to file, I would suggest that you examine the following example:
Examples >> Hardware Input and Output >> DAQ >> Counters >> DAQ-STC >> Measure Buffered Period (DAQ-STC).vi
This example does not log to file, but it does demonstrate how to program a buffered period measurement. You will need to add the logging functionality to this VI as demonstrated in Analog Input >> Stre
am to Disk.
Good luck with your application.
Spencer S.