Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Get as many samples as posible

Solved!
Go to solution

Hello,

 

I I am looking for a way to campture as many samples as posible every 100ms with a NI9223 + NI-cDAQ9174 connected to a Win10 PC thru USB.

 

We need the sample rate to be 1Mhz, of course the real data output will be superior to what the 9223 can actually acquire but we don't really need all the data.

 

Questions:

-What is the recommeded Acquisition Mode, Samples to Read and Rate for this task?

-Which VIs can I use tell the Modul, that it should send all the possible information and then retrive the info?

-Which architecture is recommeded?

 

What I trought could work:

-Set the modul to acqure 1 sample, HW timed every 1µs (DAQ assistant says the configuration is not possible)

-Set the write task with a timeout of 100ms

 

What I think could work:

-Set the Module to Continous Samples, 1 sample with a 1Mhz rate.

-Set the Write VI in a while loop, indexing the data and stopping the loop 100ms after

-See the imagens below. Is that doing what I want?

 

 

Thanks

 

-A

Download All
0 Kudos
Message 1 of 3
(147 Views)
Solution
Accepted by topic author ypi

Check out one of the DAQmx examples for continuous acquisition:

<LabVIEW>\examples\DAQmx\Analog Input\Voltage - Continuous Input.vi

which acquires waveform data for each channel (you can specify multiple channels in the physical channel control). 

 

Continuous Waveform Acquisition.png

 

 

 

Doug
NI Sound and Vibration
0 Kudos
Message 2 of 3
(140 Views)

With a bit of modifications it workerd well. Thanks!

0 Kudos
Message 3 of 3
(78 Views)