10-10-2013 10:26 AM - edited 10-10-2013 10:26 AM
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:
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 !
10-11-2013 09:48 AM - edited 10-11-2013 09:50 AM
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