Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 203453

Error 1386 between Labview Quantum Design PPMS

$
0
0

(This is a different problem from http://forums.ni.com/t5/LabVIEW/Controlling-PPMS-from-Labview/m-p/2581885/highlight/true#M777361)

I also check the Quantum Design forum and webpage, but did not find a solution.

My initial guess was that there is something missing with the QDInstrument.dll file, but now I think there might actually be a problem related to the way Labview interacts with the .NET framework. and invoke nodes. For this reason I am posting to the NI Forum. Sorry for the long text, but I try to give a max of info.

 

I am trying to interact with the ppms from Quantum Design. I use the library  (PpmsMultiVu.zip) attached to this message. It contains an example vi but it requires the QD software to run in parallel.

 

I get an error 1386 with this error message:

 

Error 1386 occurred at Invoke Node in OpenQDInstrument.vi->QDInstrument_Example.vi
Possible reason(s):
LabVIEW:  The specified .NET class is not available in LabVIEW.

 

Interestingly, the error only happens when the QD library is installed on my C drive. It does not matter if it is the Labview2014>instr.lib folder, or anywhere else such as the desktop.

Also if I checked :

View > .NET Assemblies in Memory

It is empty.

 

If I install the library on a network drive, everything will run nicely, and .NET Assemblies in Memory has one entry

 

Also if I have two copies of the library, on on the c drive, and the other on the network drive, if I launch the example vi form the c drive, it will still give the error, event if the files are still located at the same place on the network drive.

 

The library makes heavy use of .net invoke nodes

 

 

Earlier a had an "Failed to connect to OLE server " error while working with this library, but this resolved by itself after a computer reboot, without a logical explanation.

 

Thanks for your input

 


Viewing all articles
Browse latest Browse all 203453

Trending Articles



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