Passing .NET Object Reference Between TestStand and LabVIEW

Updated Jan 24, 2019

Reported In

Software

  • LabVIEW
  • TestStand

Issue Details

  • Is it possible to pass a .NET object reference from TestStand to LabVIEW and vice versa?
  • I receive Error 1172 when trying to pass a .NET object between TestStand and LabVIEW¬†

Solution

It is not currently possible to pass .NET references between the TestStand .NET adapter and LabVIEW. Both environments create separate application domains in which they operate. Therefore, references created in LabVIEW cannot be used with the TestStand .NET adapter and vice versa.

You can pass .NET references from LabVIEW into TestStand and store these in object reference variables to then pass back into other LabVIEW code modules. 

When supported, you may use .NET Remoting to share .NET objects between TestStand and LabVIEW.

WAS THIS ARTICLE HELPFUL?

Not Helpful