Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Run Error (MS 8.5)

I have just updated to Measurement Studio version 8.5, and having troubles running my updated projects.

I have tried running the AnalogDataFileProcessor example project, and getting the same error, namely:

System.IO.FileLoadException was unhandled
  Message="A procedure imported by 'NationalInstruments.DAQmx, Version=8.7.35.25, Culture=neutral, PublicKeyToken=18cbae0f9955702a' could not be loaded."
  Source="AnalogDataFileProcessor"
  FileName="NationalInstruments.DAQmx, Version=8.7.35.25, Culture=neutral, PublicKeyToken=18cbae0f9955702a"
  FusionLog=""
  StackTrace:
       at NationalInstruments.Examples.AnalogDataFileProcessor.ConfigureDAQmxAcquisitionForm..ctor()
       at NationalInstruments.Examples.AnalogDataFileProcessor.MainForm..ctor() in C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2008\DotNET\Examples\DAQmxWithUI\AnalogDataFileProcessor\cs\MainForm.cs:line 123
       at NationalInstruments.Examples.AnalogDataFileProcessor.MainForm.Main() in C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2008\DotNET\Examples\DAQmxWithUI\AnalogDataFileProcessor\cs\MainForm.cs:line 380
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Runtime.InteropServices.COMException
       Message="The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)"
       ErrorCode=-2147024769
       InnerException:

How do I figure out which procedure couldn't be found?

0 Kudos
Message 1 of 3
(3,901 Views)
I have managed to answer my own question, the problem was I hadn't also installed the newer device drivers on my other PC.
0 Kudos
Message 2 of 3
(3,885 Views)
Dave,

Thanks for letting us know.

Best wishes

Rob
Rob L

NI Applications Engineer

UK & Ireland


It only takes a click to rate this message 😉
0 Kudos
Message 3 of 3
(3,867 Views)