Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5627

System.MissingMethodException for NationalInstruments.Visa.Session

$
0
0

I am getting the following error in a .NET application running on Windows 10 64-bit

 

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Constructor on type 'NationalInstruments.Visa.Session' not found.
   at Ivi.Visa.GlobalResourceManager.Open(String resourceName, AccessModes accessModes, Int32 timeoutMilliseconds, ResourceOpenStatus& openStatus)

(shortened to remove my application specific methods).

 

I have the same SW components installed on another PC (though Windows 7 32-bit) that is working just fine.

 

I am trying to understand what I might be missing. I looked at the NationalInstruments.Visa.dll in the GAC and the Session constructor is internal, so I am not sure why the Ivi.Visa code is trying to call an internal method in the first place.

 

Has anyone seen an issue like this before?


Viewing all articles
Browse latest Browse all 5627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>