cdeleo
2006-08-02 22:10:09 UTC
Whenever I try to run a program with a Task object defined, including the examples provided by NI, I get the error:
Additional information: Method get_SynchronizingObject in type NationalInstruments.DAQmx.DaqSystem from assembly get_SynchronizingObject does not have an implementation.
Unhandled Exception: System.TypeLoadException: Method get_SynchronizingObject in type NationalInstruments.DAQmx.DaqSystem from assembly get_SynchronizingObject does not have an implementation.
at NationalInstruments.Examples.WriteDigitalChannel.MainForm..ctor()
at NationalInstruments.Examples.WriteDigitalChannel.MainForm.Main() in c:\documents and settings\e90238\my documents\visual studio projects\diotest\mainform.cs:line 360The program '[2396] DIOTest.exe' has exited with code 0 (0x0).
Note that the program never actually reaches the line where I declare the and initialize the Task object, it actually fails in my Main function on the Application.Run line for a Windows app or without ever reaching a line of code according to the debugger in a console app. I couldn't find any mention of this in the forums here or elsewhere. Any ideas on what could cause this?
Carter De Leo
Additional information: Method get_SynchronizingObject in type NationalInstruments.DAQmx.DaqSystem from assembly get_SynchronizingObject does not have an implementation.
Unhandled Exception: System.TypeLoadException: Method get_SynchronizingObject in type NationalInstruments.DAQmx.DaqSystem from assembly get_SynchronizingObject does not have an implementation.
at NationalInstruments.Examples.WriteDigitalChannel.MainForm..ctor()
at NationalInstruments.Examples.WriteDigitalChannel.MainForm.Main() in c:\documents and settings\e90238\my documents\visual studio projects\diotest\mainform.cs:line 360The program '[2396] DIOTest.exe' has exited with code 0 (0x0).
Note that the program never actually reaches the line where I declare the and initialize the Task object, it actually fails in my Main function on the Application.Run line for a Windows app or without ever reaching a line of code according to the debugger in a console app. I couldn't find any mention of this in the forums here or elsewhere. Any ideas on what could cause this?
Carter De Leo