Open/Close:Item Method

Short Name: Open/Close.Item

Requires: Base Development System

Class: TreeControl Methods

To Use: Create a method.

Expands or closes a node in the tree control.

Parameters

Data typeNameRequiredDescription
tagYesUnique tag of the item you want to expand or close. If the tree control contains no items, the method returns an error.
OpenNoIf TRUE, the method expands the item. If FALSE (default), the method closes the item.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes