LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Collecting waveforms from a continuous aquisition using an external pulse to section them off

I have an analog input and a digital, (or analog square wave), pulse counter. I need to continously aquire data from the input channel, and I need to divide the input up ,(collect waveforms), and then file the waveforms away in arrays using the rising edge of the counter pulse to mark the divisions. Is it possible to go about this without hooking up additional digital triggers or encoders which I don't have, and if so what's the best way to go? Thanks in advance for ANY help at all.

P.S. I'm using a PCI-MIO-16E-1 board
0 Kudos
Message 1 of 2
(2,393 Views)
Hello;

By my understanding, you need to be able to recognize different waveforms that will be divided up by counter pulses.

One thing you can do is, since you know the sample rate of your Analog Input operation, you can use a counter to measure how much time was elapsed in between two counter pulses, than do some calculations on your VI to determine the number of points per waveform, after retrieving all datapoints from the file.

So, the main idea is to stream to disk all Analog Input points, and also save the counter information to a different file, then, retrieve that information and post process both files to figure out the number of points per waveform.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,393 Views)