From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel acquire 2 signals with different sampling rate on 2 cards

Hi NI,

 

I have cDAQ-9178 and NI 9221, where sample rate is 10kHz and NI 9219, where I need sample rate about 10Hz, it's possible this confiruration for parallel acquire?

 

Thank you.

 

Neolker

0 Kudos
Message 1 of 2
(5,241 Views)

Hi Neolker,

 

Do the tasks need to be synchronized or are totally independent tasks?

If the tasks are independent, than you basically have to create two different tasks, even in two different loops that will run with different sampling rate.

You can have them in the same loop the reading if you assure that the data are transfered in chunks to application memory according to tha sampling rate (Ex. for 10kS/s rate you can transfer data with 1kS chunks and for 10S/s rate with 1S chunk).


If  you want to synchronize them, you will need a counter that will divde the sample clock from 9221 and route it to 9219.

 

Let me know if you need more help.

Best regards,

IR

0 Kudos
Message 2 of 2
(5,225 Views)