Jump to content

Template:VIServerHasProperties: Difference between revisions

From LabVIEW Wiki
Default to FALSE
mNo edit summary
Line 299: Line 299:
== Usage ==
== 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 Class type {basic, script, private, deprecated, unknown}.
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 properties {TRUE, FALSE}.


Syntax is as follows:
Syntax is as follows:
Line 318: Line 318:
| <code>{{{1}}}</code>
| <code>{{{1}}}</code>
| The Class ID of a class in the [[VI Server Class Hierarchy]].
| The Class ID of a class in the [[VI Server Class Hierarchy]].
| <code></code>
| <code>NULL = FALSE</code>
|}
|}


Line 340: Line 340:


'''Result:''' {{VIServerHasProperties|82}}
'''Result:''' {{VIServerHasProperties|82}}
'''Example:''' ''Passing a Null''
Passing a NULL defaults to FALSE.
<code>
<nowiki>
{{VIServerHasProperties}}
</nowiki>
</code>
'''Result:''' {{VIServerHasProperties}}


== See Also ==
== See Also ==
*[[Template:VIServerGetClassName]]
*[[Template:VIServerGetAncestors]]
*[[Template:VIServerGetAncestors]]
*[[Template:VIServerGetChildren]]
*[[Template:VIServerGetChildren]]
*[[Template:VIServerGetClassName]]
*[[Template:VIServerGetClassType]]
*[[Template:VIServerGetParent]]
*[[Template:VIServerHasEvents]]
*[[Template:VIServerHasMethods]]
</noinclude>
</noinclude>

Revision as of 15:03, 8 September 2019


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 properties {TRUE, FALSE}.

Syntax is as follows:

{{VIServerHasProperties|{{{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

{{VIServerHasProperties|6}}

Result: TRUE

Example: TagSet class - Does not have properties

{{VIServerHasProperties|82}}

Result: FALSE

Example: Passing a Null

Passing a NULL defaults to FALSE.

{{VIServerHasProperties}}

Result: FALSE

See Also