Property Node (.NET)

Owning Palette: .NET Functions

Requires: Base Development System (Windows)

Gets (reads) and/or sets (writes) properties of a reference.

The Property Node (.NET) is preconfigured to access VISA properties, .NET properties, and ActiveX properties. The node operates in the same way as a standard Property Node.

Details  

 Add to the block diagram  Find on the palette
reference is the refnum associated with the object for which you want to set or get properties. If the Property Node class is Application or VI, you do not have to wire a refnum to this input. For the Application class, the default is the current application instance. For the VI class, the default is the VI containing the Property Node.

You also can wire a LabVIEW class to the reference input to access the private data of the LabVIEW class.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
property 2..n are examples of properties you want to set (write).
reference out returns reference unchanged.
error out contains error information. This output provides standard error out functionality.
property 1..n are examples of properties you want to get (read).

Property Node (.NET) Details

If you right-click the Property Node (.NET) and select Select Class».NET»Browse from the shortcut menu, LabVIEW displays the Select Object From Assembly dialog box.

Select a property from the shortcut menu to set a property for the object. You also can select .NET-specific properties for a .NET object. On the block diagram, right-click a .NET object, select Create»Property Node, and select a .NET-specific property from the shortcut menu.

Tip  If you encounter problems loading a particular assembly or accessing objects in an assembly, debug the assembly call or use the .NET Assemblies in Memory dialog box to verify that the correct version of the assembly is in memory.