Jump to content

Template:TerminalAsDataType/doc

From LabVIEW Wiki
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}}