Jump to content

Template:TerminalAsDataType/doc: Difference between revisions

From LabVIEW Wiki
Created page with "<noinclude>{{documentation subpage}}</noinclude> {{intricate template}} Provides a simple way to get terminal images as data type that link to the corresponding wiki page. ==Parameters== {| class="wikitable" !Parameter !Description |- |<code>type</code> |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: {| class="wikitable" style="text-align: center;" !Type..."
 
Add LabVIEW Object
 
(5 intermediate revisions by the same user not shown)
Line 31: Line 31:
|{{TerminalAsDataType|type=indicator|string array}}
|{{TerminalAsDataType|type=indicator|string array}}
|-
|-
|style="text-align: left;"|U8
|style="text-align: left;"|U8, Unsigned Byte
|{{TerminalAsDataType|type=control|U8}}
|{{TerminalAsDataType|type=control|U8}}
|{{TerminalAsDataType|type=indicator|U8}}
|{{TerminalAsDataType|type=indicator|U8}}
|-
|-
|style="text-align: left;"|U16
|style="text-align: left;"|U16, Unsigned Word
|{{TerminalAsDataType|type=control|U16}}
|{{TerminalAsDataType|type=control|U16}}
|{{TerminalAsDataType|type=indicator|U16}}
|{{TerminalAsDataType|type=indicator|U16}}
|-
|-
|style="text-align: left;"|U32
|style="text-align: left;"|U32, Unsigned Long
|{{TerminalAsDataType|type=control|U32}}
|{{TerminalAsDataType|type=control|U32}}
|{{TerminalAsDataType|type=indicator|U32}}
|{{TerminalAsDataType|type=indicator|U32}}
|-
|-
|style="text-align: left;"|U64
|style="text-align: left;"|U64, Unsigned Quad
|{{TerminalAsDataType|type=control|U64}}
|{{TerminalAsDataType|type=control|U64}}
|{{TerminalAsDataType|type=indicator|U64}}
|{{TerminalAsDataType|type=indicator|U64}}
|-
|-
|style="text-align: left;"|I8
|style="text-align: left;"|I8, Byte
|{{TerminalAsDataType|type=control|I8}}
|{{TerminalAsDataType|type=control|I8}}
|{{TerminalAsDataType|type=indicator|I8}}
|{{TerminalAsDataType|type=indicator|I8}}
|-
|-
|style="text-align: left;"|I16
|style="text-align: left;"|I16, Word
|{{TerminalAsDataType|type=control|I16}}
|{{TerminalAsDataType|type=control|I16}}
|{{TerminalAsDataType|type=indicator|I16}}
|{{TerminalAsDataType|type=indicator|I16}}
|-
|-
|style="text-align: left;"|I32
|style="text-align: left;"|I32, Long
|{{TerminalAsDataType|type=control|I32}}
|{{TerminalAsDataType|type=control|I32}}
|{{TerminalAsDataType|type=indicator|I32}}
|{{TerminalAsDataType|type=indicator|I32}}
|-
|-
|style="text-align: left;"|I64
|style="text-align: left;"|I64, Quad
|{{TerminalAsDataType|type=control|I64}}
|{{TerminalAsDataType|type=control|I64}}
|{{TerminalAsDataType|type=indicator|I64}}
|{{TerminalAsDataType|type=indicator|I64}}
|-
|style="text-align: left;"|CSG, Complex Single Float
|{{TerminalAsDataType|type=control|CSG}}
|{{TerminalAsDataType|type=indicator|CSG}}
|-
|style="text-align: left;"|CDB, Complex Double Float
|{{TerminalAsDataType|type=control|CDB}}
|{{TerminalAsDataType|type=indicator|CDB}}
|-
|style="text-align: left;"|CXT, Complex Extended Float
|{{TerminalAsDataType|type=control|CXT}}
|{{TerminalAsDataType|type=indicator|CXT}}
|-
|style="text-align: left;"|FXP, Fixed-Point
|{{TerminalAsDataType|type=control|FXP}}
|{{TerminalAsDataType|type=indicator|FXP}}
|-
|style="text-align: left;"|SGL, Single Precision
|{{TerminalAsDataType|type=control|SGL}}
|{{TerminalAsDataType|type=indicator|SGL}}
|-
|style="text-align: left;"|DBL, Double Precision
|{{TerminalAsDataType|type=control|DBL}}
|{{TerminalAsDataType|type=indicator|DBL}}
|-
|style="text-align: left;"|EXT, Extended Precision
|{{TerminalAsDataType|type=control|EXT}}
|{{TerminalAsDataType|type=indicator|EXT}}
|-
|style="text-align: left;"|Boolean
|{{TerminalAsDataType|type=control|Boolean}}
|{{TerminalAsDataType|type=indicator|Boolean}}
|-
|style="text-align: left;"|Variant
|{{TerminalAsDataType|type=control|Variant}}
|{{TerminalAsDataType|type=indicator|Variant}}
|-
|style="text-align: left;"|Error Cluster
|{{TerminalAsDataType|type=control|Error Cluster}}
|{{TerminalAsDataType|type=indicator|Error Cluster}}
|-
|style="text-align: left;"|Void
|<!-- does not exist: {{TerminalAsDataType|type=control|Void}} -->
|{{TerminalAsDataType|type=indicator|Void}}
|-
|style="text-align: left;"|Enum U8
|{{TerminalAsDataType|type=control|Enum U8}}
|{{TerminalAsDataType|type=indicator|Enum U8}}
|-
|style="text-align: left;"|Enum U16, Enum
|{{TerminalAsDataType|type=control|Enum U16}}
|{{TerminalAsDataType|type=indicator|Enum U16}}
|-
|style="text-align: left;"|Enum U32
|{{TerminalAsDataType|type=control|Enum U32}}
|{{TerminalAsDataType|type=indicator|Enum U32}}
|-
|style="text-align: left;"|LabVIEW Object
|{{TerminalAsDataType|type=control|LabVIEW Object}}
|{{TerminalAsDataType|type=indicator|LabVIEW Object}}
|-
|-
|}
|}

Latest revision as of 11:14, 4 January 2025

This is the documentation page for Template:TerminalAsDataType.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

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
Enum U16, Enum
Enum U32
LabVIEW Object

Examples

Source Result
{{TerminalAsDataType|type=control|string}}
{{TerminalAsDataType|type=indicator|string}}