Jump to content

Template:VIServerGetPropertyLongName

From LabVIEW Wiki
Revision as of 18:14, 14 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 Property ID of a property of a class in the VI Server Class Hierarchy. It returns the Long Name in English, if found. If not found, it returns a "unknown". The Long Name is the displayed name in the drop down menus when selecting a property in a property node.

Syntax is as follows:

{{VIServerGetPropertyLongName|{{{1}}}}}

where:

Parameter Description Default
{{{1}}} The Property ID of a property of a class in the VI Server Class Hierarchy.

Example

0 is the Property ID for the Application:Name property of Application class.

{{VIServerGetPropertyLongName|0}}

Result

Result: Application:Name

Example

Passing a blank to the lookup won't be found and therefore returns "unknown".

{{VIServerGetPropertyLongName|}}

Result

Result: unknown

See Also