Open/Close:Item
- Updated2026-02-04
- 1 minute(s) read
Expands or closes a node in the tree control.
Parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| Tag | ![]() |
Yes | Unique tag of the item you want to expand or close. If the tree control contains no items, the method returns an error. |
| Open? | ![]() |
No | If TRUE, the method expands the item. If FALSE (default), the method closes the item. |
Remarks
The following table lists the characteristics of this method.
| Short Name | Open/Close.Item |
| Data type | No return value |
| Available in Run-Time Engine | Yes |
| Available in Real-Time Operating System | Yes |
| Settable when the VI is running | Yes |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |

