LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error -10401 with pcie 6321

Solved!
Go to solution

Hello,

I have the -10401 error when I want to configure a port in 6321 PCIe card (3 ports of 8 bits each).
I use the sub-vi "DIO-configure a port."
I checked all the settings.
I also tested the sub-vi "Read a digital line" and i have the same error.
The PC which used for my tests is on Windows XP and using LabVIEW 2010 SP1 and NI DAQ  MX 9.3.5 (supplied with the PCIe 6321).
 

Sincerely,

0 Kudos
Message 1 of 5
(2,489 Views)
Solution
Accepted by topic author ErwannLM

That function is part of the obsolete traditional DAQ driver. Use the DAQmx functions on your palette.

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

Thank-you for the quick response but it's not possible to use the traditional DAQ driver instead?

I have to resume some vi's from an old project without modify them.

0 Kudos
Message 3 of 5
(2,479 Views)

No, it's not possible with that newer DAQ card. If you wanted compatability with the old code, you should have gotten the same board that it used.

0 Kudos
Message 4 of 5
(2,473 Views)

ok. thanks for yours explanations.

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