LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to register a .NET event

I am working with a .NET assembly in LV 7.1

There are minimal problems in interfacing to methods and properties. The assembly has exported addxxxevent() and removexxxevent() methods. I am trying to handle the events in a similar fasshion to ActiveX callbacks but don't seem to be having much luck.

Is it possible to handle/process .NET events?

Also, the assembly that I am dealing with handles all input and output p[arameters as .NET references. The assembly was built using C# which has no native types. The calculator.dll assembly has its inputs and outputs as native type (real64), is there a trick in making the IO using the native data types?

Thanks.
0 Kudos
Message 1 of 2
(2,858 Views)
LabVIEW does not have a way to handle .net events. It is just not supported.

The reason you are getting the .net references is that LabVIEW does not know how to convert the C# data. You can pass the reference back to an assembly via labVIEW when it can be converted to a LV usable type, but you cannot use the data in LabVIEW directly.
0 Kudos
Message 2 of 2
(2,858 Views)