11-11-2008 08:39 AM
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
Solved! Go to Solution.
11-13-2008 10:32 AM - edited 11-13-2008 10:32 AM
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.
11-17-2008 10:36 AM
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.