Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXI-4461 generate and measure simultaneously

Hi,

I want to use NI PXI-4461 to generate and measure signals which frequency is up to 100 KHz. The sample rate will be up to 204.8 kS/s.

My question is:
May I use one of its outputs to generate signal with sample rate of 204.8 kS/s and to measure this signal with the two inputs that NI PXI-4461have at the same time. The sampling ate for the inputs will be 204.8 kS/s.

Thank you in advance,

Vassil
0 Kudos
Message 1 of 5
(8,480 Views)

Hi Vassil,

 

Yes indeed you can simultaneously generate and acquire on a single 4461. The sampling rates of each channel need to be related. So each channel would need to be either the same as the first configured channel or some 2^n division of the first configured sample rate. Since you want to run everything at 204.8kS/s that should be fine.

 

 

DanO

Conditioned Measurements Hardware 

0 Kudos
Message 2 of 5
(8,469 Views)
Note that some of the DSA boards (especially the 24-bit ones) have a delay between when you start the task and when you get your first sample. A co-worker was wanting to do the very thing you're trying and found this out. The delay is documented in the manual for the board and affects both the a/d and d/a channels (search 'filter delay' in the manuals for the device). Basically, you get zeroes until the delay is overcome. Luckily, it is repeatable so you can just throw out a fixed number of samples to get rid of the zeroes.
0 Kudos
Message 3 of 5
(7,896 Views)

Would you please upload an example?  I've been trying to doing the same thing but keep getting a DAQmx error.  Thanks

0 Kudos
Message 4 of 5
(6,905 Views)

Try the DAQmx shipping example:

C:\Program Files\National Instruments\LabVIEW 2010\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-Synch AI-AO.vi

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
Message 5 of 5
(6,892 Views)