LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an issue with using object references to .net dll's from TestStand as input object references to LabView VIs

I am currently using LabView 2009 and TestStand 4.2.  I am using a Omicron software package to control a device and I first access and create the object reference in TestStand.  I then would like to run a VI in the sequence editor that would internally use this same software and would like to use the saved object reference from TestStand as the input reference to the VI, but I keep getting errors saying that the reference is null.  Is there a solution to this issue?

0 Kudos
Message 1 of 2
(2,107 Views)

Unfortunately, you cannot pass references to .NET objects you create outside of LabVIEW to VIs. You can store references to .NET objects you create in LabVIEW within TestStand properties and then pass them to other LabVIEW VIs. There is similar forum that also covers this issue.

 

The following example shows how this can be done using .NET Remoting, which allows you to share objects across different AppDomains.

 

http://zone.ni.com/devzone/cda/epd/p/id/6064

Regards,

Anjelica W.
National Instruments
Product Marketing Manager
FlexLogger and TestStand
0 Kudos
Message 2 of 2
(2,087 Views)