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.
Calls to the Objects with the .NET Adapter fail with the error: "Object does not match target type"
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