Template:VIServerGetClassName: Difference between revisions
Appearance
mNo edit summary |
m Added some test numbers |
||
Line 295: | Line 295: | ||
|16552=SetConstant | |16552=SetConstant | ||
|16553=MapConstant | |16553=MapConstant | ||
|12345=Test1 | |||
|123456=Test2 | |||
|1234567=Test3 | |||
|12345678=Test4 | |||
|123456789=Test5 | |||
|12345678901=Test6 | |||
|123456789012=Test7 | |||
|1234567890123=Test8 | |||
|12345678901234=Test9 | |||
|123456789012345=Test10 | |||
|1234567890123456=Test11 | |||
|}}</includeonly><noinclude> | |}}</includeonly><noinclude> | ||
Revision as of 03:40, 1 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 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
{{VIServerGetClassName|36}}
Result: (GObject)
36 is the Class ID of GObject class.
Example: Input that is not in the lookup table
{{VIServerGetClassName|}}
Result: ()
Passing a blank to the lookup won't be found and therefore returns a blank.