Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Using a .NET dll through LabVIEW and TestStand

$
0
0

I have my application all programmed and it works beautifully, except:

 

My company uses a merged .NET dll (testset.dll) for all of our calls to instruments.  We also use a custom UI through TestStand to manage all of our test process and results. I'm making calls from TestStand to individual test modules created in LabVIEW that perform the actual tests.

When I run the system without the testset.dll loaded into the Windows 7 GAC, with direct calls to the testset.dll file, everything works fine.

When I add "install" the dll so that it now resides in the GAC and add in the config file to the projects where applicable for the instruments, LabVIEW is happy, no broken VIs. Also if I do an analysis of the sequence(s) in TestStand, it reports no errors and all VIs are all loadable. (can't run it from here though).

When I try to run the system starting from our custom UI, I get errors where ever I try to call the testset.dll:  "... The specified .NET class is not available in LabVIEW."

 

I suspect that I have to add a config file for specifying the correct dll version to use, just like I did for the LabVIEW project, but this time add it to somewhere in the TestStand calls?  Maybe where the sequence file is? Or would it go where the LabVIEW runtime engine is? (I don't so much believe that because then the runtime engine would be limited to that dll only.

 

Any help would be greatly appreciated.

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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