Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

FileLoadException on Vista

Solved!
Go to solution

Hello-

 

 This might be considered in reference to another service call, but that's for later. I am testing a new version of our software to run on Vista. The same software runs fine on XP, however when I install it on Vista, I get a "FileLoadException" when I try to access any of the DAQmx API functions. The exception help from Microsoft suggests that this might be versioning or security issue. Are there any known issues with this, or should it work?

 

Link of MSDN:

http://msdn.microsoft.com/en-us/library/dbe81ttk(VS.85).aspx

 

Specific Expection Text:

"A procedure imported by 'NationalInstruments.DAQmx, Version=8.7.20.11, Culture=neutral, PublicKeyToken=4544464cdeaab541' could not be loaded.":

"NationalInstruments.DAQmx, Version=8.7.20.11, Culture=neutral, PublicKeyToken=4544464cdeaab541"

 

 

-Bill

0 Kudos
Message 1 of 3
(2,921 Views)

Hi Bill, 

 

I would recommend checking the DAQmx driver version on your target computer where your application is deployed.  What is the development environment (Measurement Studio, Visual Studio, etc.)?  It looks like you are using DAQmx 8.7.2 which is supports VISTA (check the Readme).  

 

I would try to run some example programs to see if they will run.  The example programs for C are located in:

C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples ... 

 

If you are still experiencing problems I would recommend reinstalling the DAQmx driver.

Message Edited by Jordan F on 11-13-2008 10:32 AM
Regards,
Jordan F
National Instruments
0 Kudos
Message 2 of 3
(2,896 Views)
Solution
Accepted by topic author Tyzack

I believe that this was caused by having an older version (8.6) of the DAQmx drivers installed on the target PC. I am upgrading their drivers to 8.7, hopefully this will solve the problem.

0 Kudos
Message 3 of 3
(2,877 Views)