Template:VIServerGetClassName

From LabVIEW Wiki
Jump to: navigation, search


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 Name in English, if found. If not found, it returns a blank or null.

Syntax is as follows:

{{VIServerGetClassName|{{{1}}}}}

where:

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

Example: Class ID of a class that is in the VI Server Class Hierarchy

36 is the Class ID of GObject class.

{{VIServerGetClassName|36}}

Result: (GObject)

Example: Input that is not in the lookup table

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

{{VIServerGetClassName|}}

Result: ()

See Also