LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use .NET method with OutAttribute parameter from Labview

I am trying to call a .NET Assembly method from Labview which has the following signature in managed C++,

bool ReadInfo ( [InAttribute] int mobileIndex_, [OutAttribute] Double& fer_, [OutAttribute] Double& ser_);

I can call the this method from other .NET client program (e.g. TestStand) with no problem. In Labview I see the OutAttribute parameters as .NET refnum and I cannot seem to get the values passed back from my assembly.
0 Kudos
Message 1 of 2
(2,271 Views)
This is a known problem in LV 7.x. You are going to need to create some simple accessor methods in the .NET language of your choice I am afraid.

Here is the original thread...

http://forums.ni.com/ni/board/message?board.id=170&message.id=115883
0 Kudos
Message 2 of 2
(2,259 Views)