07-29-2008 12:37 PM
08-28-2008 04:41 PM
Hi gilvarman,
You are correct, we cannot share a .NET object directly between LabVIEW and TestStand. The reason for this is because LabVIEW and .NET are in different AppDomains (Application Domains) and you cannot directly share objects between AppDomains.
To get around this, you can use a technology called .NET Remoting that basically lets you create a remote object (can be on the local machine) on a .NET Remoting Server and then share that objects from multiple AppDomains and even Applications.
There is a lot of documentation on the web about implementing .NET Remoting and we have tested this from TestStand/LabVIEW combination as well.
The one common pitfall that I've run into personally is to make sure that the .NET Assembly is in a place that both applications search for. A good choice is the GAC.