Property Node (ActiveX)

Owning Palette: ActiveX Functions

Requires: Base Development System (Windows)

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

The Property Node (ActiveX) is preconfigured to access 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 (ActiveX) Details

If the property you want to write is variant, you can wire LabVIEW data and it automatically converts to variant data indicated by a coercion dot. ActiveX does not support 64-bit integer data types. If you wire 64-bit integer data to a variant parameter of an ActiveX Property Node, LabVIEW converts the data to a double-precision, floating-point number. If the property is variant, use the Variant To Data function to convert to LabVIEW data, if needed. If you right-click the Property Node and select Select Class»ActiveX»Browse from the shortcut menu, LabVIEW displays the Select Object From Type Library dialog box.

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