NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Labview-teststep when using Runtime-adapter

So there seems to be an issue with sharing the DLL between the UI and LabVIEW in certain cases. at least that's my conclusion.

0 Kudos
Message 11 of 15
(344 Views)

But the VI with the DLL is execution without problems in my UI when i configure in Teststand:

Configure -> Adapters -> LabView -> Development System.

 

I think it is a NI problem somewhere.

 

0 Kudos
Message 12 of 15
(342 Views)

The issue might be related to https://www.ni.com/de-de/support/documentation/supplemental/13/how-teststand-interacts-with-labview-...

especially 

Oli_Wachno_0-1680786313138.png

 

I am no C# specialist at all, yet I have learned that LabVIEW also creates an own application instance for .net assemblies.

Maybe it is a combination.

It might be worth opening a service request at NI.

 

 

0 Kudos
Message 13 of 15
(341 Views)

Thanks for the idea but this VI only conains one instance and is very simple inside. It only opens the dll and executes the function. Nothing special.

I think that the problem is that the DLL is not found when using the Runtimeadapter as the errorcode is the same also when i remove the DLL complete in the search path.

0 Kudos
Message 14 of 15
(339 Views)

Another information: The problem is coming from the constructor.

When i delete all following calls using the constructor refererence then its still the same error.

When then also deleting the constructor then the Vi is executing.

 

So somehow there is the error in runtime-mode

0 Kudos
Message 15 of 15
(325 Views)