NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Share .NET Object between .NET User Interface and TestStand 2024 Q4

Hello everyone,

 

I have a .NET Framework 4.8 Application which is running SequenceFiles via TestStand API. I have some .NET Objects that are created by the application which are also used by the executed SequenceFiles via .NET Adapter. These Objects are derived from MarshalByRefObject. The references to these objects are passed to variables (e.g StationGlobals) from the Application via ProperyObject.SetValInterface. This scenario worked fine with TestStand 2022 Q4.

 

After Updating to TestStand 2024 Q4 the shared object references are not available inside the SequenceFile. In the variables view they appear as IUnknown.

_2LF9sArQmGl4_0-1733217313431.png

 

Calls to the Objects with the .NET Adapter fail with the error: "Object does not match target type"

_2LF9sArQmGl4_1-1733217416900.png

 

As mentioned here https://www.ni.com/docs/de-DE/bundle/teststand/page/assigning-values-to-object-references.html#d1299... sharing of .NET Objects between LabView and TestStand is not longer supported in TestStand 2024 Q4. Does this apply for objects from am .NET Application too? 

 

Is there another way to share .NET objects beween a .NET Application and TestStand? 

 

Thanks

 

Daniel

 

0 Kudos
Message 1 of 1
(118 Views)