02-11-2009 07:26 PM
one machine generate sine waves at random time . i want to continuously catch and save the waveforms in 10s by NI 5102.
how to do it ?
many thanks!!
Solved! Go to Solution.
02-22-2009 08:47 AM
Hi neilshao,
There are examples in LabVIEW>>Help>>Find Examples>>Hardware Input and Output>>Modular Instruments>>NI-SCOPE (High-Speed Digitizers)>>Continuous Acquisition.
You can modify these examples toacquire only 10 seconds to achieve your task.
Regards, Kate
02-22-2009 09:57 AM
thanks for replay! but these is not one supporting NI .
I record waveform by this method.
and the new promble is that the different sample rate , the different waveform length. for example, when i set the sample rate is 4k, the waveform length is 12 sec. if sample rate is 10k, the waveform length is 8 sec. the signal under test 1k,the time constant is 10000.
now , i want to record 10 sec waveform . what is the best relationship between sample rate and the time constant?
02-22-2009 10:02 AM
Why don't you just keep data in array, and cut it off when number of samples for 10 secs are received?
Just check that array size is >= sampling rate*10, and do a subarray function on latest 10 secs.
02-22-2009 06:02 PM
can the Fetch.vi support ni5102 ?
02-22-2009 06:29 PM