Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Channels in Data Doesn't Match Channels in Task

Solved!
Go to solution

 

allen716_0-1651574559843.png

allen716_1-1651574617830.png

 

Hello everyone.

I connect the NI9213 and 9474. I want to create an analog input from 9213 and digital output from 9474 (See in the attached file). But Channels in Data Doesn't Match Channels in Task.

Please help me with it.

Thanks a lot.

0 Kudos
Message 1 of 4
(148 Views)

This is the file.

0 Kudos
Message 2 of 4
(147 Views)
Solution
Accepted by topic author allen716

First, the error is because you have 2 elements in the boolean array constants whereas the Digital Output has only one channel

santo_13_0-1651593474770.png

Next, I would recommend moving away from DAQ Assistant and learning to use DAQmx driver APIs. This is a good article to start with DAQmx (please skip the DAQ Assistant part) - https://www.ni.com/en-us/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-ha...

 

 

-Santhosh
Semiconductor Validation & Production Test
Soliton Technologies
NI CLD, CTD
LabVIEW + TestStand + TestStand Semiconductor Module (2013 - 2020)
NI STS for Mixed signal and RF
0 Kudos
Message 3 of 4
(122 Views)

Sorry, I don't have drivers installed, so I cannot look at your assistant configurations. As a first step, please expand all your array constants so we can see what they actually contain.

 

Showing one element with the index=1 can be cause for endless confusion!

 

altenbach_0-1651593563170.png

 

0 Kudos
Message 4 of 4
(120 Views)