Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

acquiring signals from multiple boards simultaneously

Solved!
Go to solution

Hi,

I am trying to acquire signal from my NI PXI cards simultaneously but having some trouble to implement that.

Here is my setup:

Hardware setup:

1) NI PXIe-1071 chassis

2) Card - NI PXI 4461 - 2 I/P and 2 O/P

3) Card - NI PXI 4492 - 8 I/P

 

Below is the Acquisition code that I have written:

IOAcquisition.PNG

 

The issue is that when I use the I/P channels on the same card(4461 or 4492) then the code runs fine, but if I use the input channels on both cards simulataneously then I get an error message:

"

Error -200106 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:


Possible reason(s):

Property must have the same value for all channels on this device.

Property: RefClk.Src

"

 

I have tried setting the Reference clock to "Onboard clock" but I still get the same error.

 

What should I do to reslove this issue? 

 

Thanks,

Ritesh

0 Kudos
Message 1 of 4
(4,457 Views)
Solution
Accepted by topic author LVCoder

Hi Ritesh

 

Have you tried importing a common ref clocks for the 2 boards? This is not supported by every device, but for the ones you are combining, this should be supported as you can see from page 44 in this document.

 

WenR

 

Message 2 of 4
(4,424 Views)

Hi WenR,

I looked at the documents you mentioned and also the synchronization example in NIDaqMx and that solved the issue that I was having.

 

-Ritesh

0 Kudos
Message 3 of 4
(4,386 Views)

LVCoder

 

I am really glad to know the information was helpful! Thanks for letting us know!

 

WenR

0 Kudos
Message 4 of 4
(4,378 Views)