Jump to content

Template:TerminalAsDataType/doc

From LabVIEW Wiki
Revision as of 19:09, 3 January 2025 by Logmanoriginal (talk | contribs) (Add floating-point types)
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
U16
U32
U64
I8
I16
I32
I64
CSG, Complex Single Float
CDB, Complex Double Float
CXT, Complex Extended Float
FXP, Fixed-Point
SGL, Single Precision
DBL, Double Precision
EXT, Extended Precision

Examples

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