Handling .NET Events in LabVIEW
The attached example program demonstrates how to register for and handle a .NET event in LabVIEW.
The example contains a .NET User Control Library (Assembly) that has a button on it.
This User Control Library is embedded in the LabVIEW Front Panel in a .NET Container.
In the Block Diagram, we get a reference to the button, register for the button click event and specify a callback VI to handle the event.
This can be done with a regular .NET Assembly that doesn't contain a UI as well.
Application Software: LabVIEW Base Development System 8.0, LabVIEW Full Development System 8.0, LabVIEW Professional Development System 8.0
Language(s): C#, Visual Basic .NET, Visual Studio .NET
Additional Software: Visual C# , Visual Studio .NET 2005
Reader Comments | Submit a comment »
The C# code files are empty
Looking at the C# code files in this example revealed nothing - they are empty.
- May 26, 2011