Generic class/Class Operator.Traverse method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 6327406
Scope VI Scripting
Data Name Class Operator.Traverse
Short Name* Class Operator.Traverse
Long Name* Class Operator:Traverse
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 3
Owning Class Name Generic Class
Return Data Type Boolean data type

Boolean

Invoke Node Class Operator:Traverse
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedNo
Settable when the VI is runningYes

Traverses the object tree of a specified object and performs a function on any object that has a process specified. If the traverse fails, LabVIEW returns FALSE.

Traverse is a way to find object references without having to recursively find them in a VI or block diagram.

<img src="caution.gif">
Caution Do not attempt to modify code in traverse callbacks. This changes the stack the traverse operation is iterating through and can cause LabVIEW to crash.

Parameters

Data type Name Required Description
Boolean Class Operator:Traverse Yes. Return value.
String Operator Name Yes Name of the operator VI.
LV VariantLV Variant Context Data Yes Context data.
Boolean Traverse All No Determines whether to traverse the entire hierarchy.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links