Jump to content

Template:VIServerHasMethods

From LabVIEW Wiki
Revision as of 15:05, 8 September 2019 by Q (talk | contribs) (Starting Templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Usage

This template is a lookup table. The input is the Class ID of a class in the VI Server Class Hierarchy. It returns the whether the class has any methods {TRUE, FALSE}.

Syntax is as follows:

{{VIServerHasMethods|{{{1}}}}}

where:

Parameter Description Default
{{{1}}} The Class ID of a class in the VI Server Class Hierarchy. NULL = FALSE

Example: Control class - Has Properties

{{VIServerHasMethods|6}}

Result: TRUE

Example: Decoration class - Does not have properties

{{VIServerHasMethods|4}}

Result: FALSE

Example: Passing a Null

Passing a NULL defaults to FALSE.

{{VIServerHasMethods}}

Result: FALSE

See Also