Using Static .NET Properties and Methods in LabVIEW
- Updated2026-08-28
- 1 minute(s) read
Using Static .NET Properties and Methods in LabVIEW
LabVIEW supports static .NET properties and methods. You can execute static properties and methods on classes without wiring a .NET object reference to the Property Node or Invoke Node.
If you are using .NET Framework objects in LabVIEW, understand specific requirements for .NET Framework.
LabVIEW indicates static properties and static methods with a [S] at the beginning of the property name or method name.
To use static properties or static methods with a .NET object, complete the following steps.
- Add one of the following nodes to the block diagram:
-
Right-click the node and select an option.
The Select Object From Assembly dialog box appears.
- Select a class from the Assembly pull-down menu.
- Select an object from the Objects listbox.
- Click OK.
- Right-click the Property Node or Invoke Node and select a static property or static method from the shortcut menu.
- Use a Constructor Node to create a .NET object.
- Wire a .NET server reference to the Property Node.
Related Information
- Accessing Properties and Methods for .NET Objects in LabVIEW
.NET objects expose properties and methods that other applications can access. In LabVIEW, you can modify properties and methods of .NET objects with Property Nodes or Invoke Nodes.
- Requirements for Using .NET Framework Assemblies in LabVIEW
Whether you want to create and manipulate .NET Framework objects in LabVIEW or use LabVIEW to build .NET Framework assemblies for other applications to use, you must adhere to certain default requirements and settings.