LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI error when executing VI with adapter=runtime in Teststand

Hello,

in the attached screenshot you can see a DotNet.DLL this is executed in a VI.

This VI is called in Teststand.

It is running without problems _direct_ under Teststand with _both_ adapters development and runtime.

 

But when i execute the sequencefile containing this VI in my custom C#-OperatorInterface then the VI is not working any more.

In the teststand detailed log info i get the attached message (failure_dialog.txt):

 

Question:

Is there something wrong in the way i call the dll-function in labview?

Is there a different DLL search path used in Teststand when using Labview-adapter = runtime?

 

What can i do to find the problem?

 

Thanks for help

 

I have the latest version of teststand labview installed incl. all updateds

 

 

Download All
0 Kudos
Message 1 of 4
(713 Views)

Hi OnlyOne,

I have found an article about solution of this issue. Try to go through that article steps to get your program work. 


Regards)

________

Best way to thank is to give Kudos / Mark as a solution. 

0 Kudos
Message 2 of 4
(655 Views)

Hello,

thank you for the link.

I dont have the option to "built a packed project library" as this is since a >10 years working testsystem with lots of custom labview steptypes. The steptypes point to a vi-file. I cannot change alle steptypes to use a file in a packed library.

 

The problem appears only in two of my steptypes where i import a dotnet dll in the vi and then call the vi in testsstand via API in my OPUI.

 

0 Kudos
Message 3 of 4
(650 Views)

Hi OnlyOne

There's a broken VI showing in your error description, meaning the dependencies are getting broken. You need to build the LabVIEW project's dependencies as packed project libraries (PPL) and then call the PPL from Teststand. 
Refer to these articles below to build and deploy the PPL's. 

TestStand System Deployment Best Practices - NI

Deploying VIs in LabVIEW Packed Project Libraries - NI

 

Using Packed Project Libraries in LabVIEW Projects - NI

 

Regards)

0 Kudos
Message 4 of 4
(629 Views)