Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multitasking with multiple 6255 card

Solved!
Go to solution

Dear collegues

Four 6255 cards are plugged into the 1078 chassis. Attempting to process the channels from the first slot of each card at the same time, 1-5 times, and trying it at NImax (Measurement and automaton exploer) will fail and error 201426 will occur. I would like to know if this is a hardware limitation or a configuration error.

 

Thank you in advance.

 

Truly

gangmu1

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

Four 6255 cards are plugged into the 1078 chassis. Attempting to process the channels from the first slot of each card at the same time, 1-5 times, and trying it at NImax (Measurement and automaton exploer) will fail and error 201426 will occur. I would like to know if this is a hardware limitation or a configuration error.

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

This is a limitation on the M series of DAQ boards.  You cannot have a single task handle multiple cards.  You have to have a separate task for each card.  But you can share the sample clock by routing the the sample clock of one board through the PXI backplane and have the other cards use that clock.  This is done with the "Source" input on the DAQmx Timing VI.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(2,589 Views)

Thank you very much.
I am programming with C #, but can you explain it a bit more specifically? .

0 Kudos
Message 4 of 5
(2,580 Views)
Solution
Accepted by topic author gangmu1

It looks like you need to use the DAQmxCfgSampClkTiming function.  One of the parameters is "source".  If you dig through examples, I am sure you will find the exact information you are looking for.  On my machine, the example you are most likely interested in is located at C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Acq-Ext Clk


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 5
(2,573 Views)