NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW NET dll call got stuck during step execution

Hi everyone,

 

I'm experiencing some matters with a .NET action step, calling a .NET dll built by LV2010,

When I call a method, it got blocked and so, doesn't output anything, indifinitely (the matter is not systematically, sometimes it runs, sometimes not).

 

This matter is known for LV2010 VI calling an LV VI built in .NET dll:

http://forums.ni.com/t5/LabVIEW/LabVIEW-net-dll-got-stuck-during-execution/m-p/2583971/highlight/fal...

 

 

I'm running on windows XP SP3, TestStand 4.2.1.

 

Does anyone know about this matter, and how to get rid of it ?

 

Thanks to all !

0 Kudos
Message 1 of 2
(3,849 Views)

Do you have any activex controls being used on the VI? If so try running the dll in an STA thread. See the example:

 

C:\tsdev\Dev\6.0\App\TestStandPublic\Examples\MFCActiveXContainerDlg

 

Put your code in the sequence that displays the dialog in the example.

 

Though if it's a LabVIEW bug, the only solution might be to upgrade to a fixed version of LabVIEW.

 

-Doug

0 Kudos
Message 2 of 2
(3,835 Views)