LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing configData.nce error 0x80004001 when loading file

I have searched for the error 0x80004001 but can not find a reference to it.  I get this error when I am importing a configuration file into MAX version 3.1.1.3004.  Does this mean anything?  I have an application that has been working on several computers and now they are starting to fail.  It appears to be a configuration issue and I am trying to track down what the problem might be and knowing what this error is should help.
0 Kudos
Message 1 of 4
(4,276 Views)
Hello,

This error could mean a corrupt .nce file.  Without knowing anything about your application I would recommend rebuilding the .nce file and trying to import again.  If you would like to zip the .nce file and post it to this thread, we would be happy to try importing it here.

If that does not work then please tell us a little more about your application.  What version of drivers do you have, what hardware are you using, and could you post a screenshot of your error?  You said that you have an application that has been starting to fail on several computers.  Could you please give us a little more detail about that situation, as it might shed some light on a bigger problem.  Thanks in advance for your reply.

Regards,

Jeff Tipps
Applications Engineer
National Instruments


0 Kudos
Message 2 of 4
(4,267 Views)
Jeff,
 
Thank you for your response.  I have attached the configuration file.  This file came from our SubVersion repository and is the file used during verification testing and has worked for several months.  We starting recieving errors when trying to write to the card using NI VI's.  This led me to look at what MAX saw and two different PCI-6220 cards were showing labeled, "Dev1" and "Dev2", even though only one card was installed.  In fact, we have only used one card and have never had two cards installed in the same system.  The active card was "Dev2" but that application was programmed with "Dev1".  At this point we tried re-importing the configuration data and starting running to the error.
 
The following is the configuration report that MAX provides when importing data.
 
Date:  10/16/2006 1:09:52 PM
User:  user
File:  E:\ABIO10\configData.nce
File version:  3.1.1.3003
MAX version:  3.1.1.3004
Importing...
========
MyHallEffectCountEdgesTask
PCI-6220: "Dev1"
MyEOSensor
MySealer
MyShiftRegisterClock
MyShiftRegisterClear
MyCompressor
MyOutputRegisterClock
MyFootSwitch
MyLiquidEOPumpOut
MySoftJaw
MyLiquidEOPumpIn
MyHardJaw
MyVacuum
MyRestartSignal
MyAirWay
MyPort0
MyGasEO
MySolenoidOutputs
MySerialData
*** Import FAILED ***
NI-VISA:  error code 0x80004001
We are using one PCI-6220 on Windows XP, LabView 7.1, MAX 3.1.1, and NI-DAQ 7.4 drivers.
 
Thank you for your assistance.
 
Eric
 
0 Kudos
Message 3 of 4
(4,258 Views)
Eric,

If you have two PCI-6220 cards in MAX that are labeled Dev1 and Dev2, then click on Dev1 (the inactive one) and hit "delete."  Then right click Dev2 (the active one) and select "rename."  You can rename the active card to Dev1 without having to reimport any configuration files. 

I also tried importing your .nce file and got a similar error.  If I deselect "Dev 1" on the import wizard, the .nce file imports correctly.  It looks like something related to that device has corrupted the file.  If the above procedure will not work for your application, can you try recreate the .nce and try again?

Thanks,

Jeff Tipps
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(4,238 Views)