Template:VIServerGetClassType/doc

From LabVIEW Wiki
Jump to: navigation, search
This is the documentation page for Template:VIServerGetClassType.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

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}.

Syntax is as follows:

{{VIServerGetClassType|{{{1}}}}}

where:

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

Example: Basic Class

6 is the Class ID of Control class, which is a class available in the Basic Development Environment.

{{VIServerGetClassType|6}}

Result: basic

Example: Scripting Class

16386 is the Class ID of Constant class, which is a class available when VI Scripting is enabled.

{{VIServerGetClassType|16386}}

Result: script

Example: Private Class

82 is the Class ID of TagSet class, which is a class available when the Private VI Server functions are enabled.

{{VIServerGetClassType|82}}

Result: private

See Also