Template:TerminalAsDataType: Difference between revisions
Appearance
Add boolean, variant, error cluster, and void |
Add enum types |
||
Line 38: | Line 38: | ||
| error cluster = Error Cluster.png{{!}}link=Error Cluster | | error cluster = Error Cluster.png{{!}}link=Error Cluster | ||
| void = Void.png{{!}}link=Void | | void = Void.png{{!}}link=Void | ||
| enum u8 = Enum U8.png{{!}}link=Enum U8 | |||
| enum | |||
| enum u16 = Enum U16.png{{!}}link=Enum U16 | |||
| enum u32 = Enum U32.png{{!}}link=Enum U32 | |||
}} | }} | ||
| indicator = {{#switch:{{lc:{{{1}}}}} | | indicator = {{#switch:{{lc:{{{1}}}}} | ||
Line 77: | Line 81: | ||
| error cluster = Error Cluster Indicator.png{{!}}link=Error Cluster | | error cluster = Error Cluster Indicator.png{{!}}link=Error Cluster | ||
| void = Void Indicator.png{{!}}link=Void | | void = Void Indicator.png{{!}}link=Void | ||
| enum u8 = Enum U8 Indicator.png{{!}}link=Enum U8 | |||
| enum | |||
| enum u16 = Enum U16 Indicator.png{{!}}link=Enum U16 | |||
| enum u32 = Enum U32 Indicator.png{{!}}link=Enum U32 | |||
}} | }} | ||
}}]]</includeonly><noinclude>{{documentation}}</noinclude> | }}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 07:05, 4 January 2025
This documentation is transcluded from Template:TerminalAsDataType/doc (history).
Provides a simple way to get terminal images as data type that link to the corresponding wiki page.
Parameters
Parameter | Description |
---|---|
type
|
Terminal type (control or indicator). Default is control. |
1 | Type name (e.g., string) |
Type names
This is a complete reference of supported type names:
Type Name | Control | Indicator |
---|---|---|
String | ||
String Array, 1D Array of String | ||
U8, Unsigned Byte | ||
U16, Unsigned Word | ||
U32, Unsigned Long | ||
U64, Unsigned Quad | ||
I8, Byte | ||
I16, Word | ||
I32, Long | ||
I64, Quad | ||
CSG, Complex Single Float | ||
CDB, Complex Double Float | ||
CXT, Complex Extended Float | ||
FXP, Fixed-Point | ||
SGL, Single Precision | ||
DBL, Double Precision | ||
EXT, Extended Precision | ||
Boolean | ||
Variant | ||
Error Cluster | ||
Void | ||
Enum U8 | File:Enum U8 Indicator.png | |
Enum U16, Enum | ||
Enum U32 | ||
LabVIEW Object | [[File:]] | [[File:]] |
Examples
Source | Result |
---|---|
{{TerminalAsDataType|type=control|string}}
|
|
{{TerminalAsDataType|type=indicator|string}}
|