Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Data Types in LabVIEW MathScript (MathScript RT Module)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

LabVIEW MathScript supports the following data types. You can configure MathScript Node output terminals using these data types except where noted.

Scalars and One- and Two-Dimensional Arrays

  • Single-precision, floating-point numeric
  • Double-precision, floating-point numeric
  • Extended-precision, floating-point numeric
  • Complex single-precision, floating-point numeric
  • Complex double-precision, floating-point numeric
  • Complex extended-precision, floating-point numeric
  • 8-bit signed integer numeric
  • 16-bit signed integer numeric
  • 32-bit signed integer numeric
  • 64-bit signed integer numeric
  • 8-bit unsigned integer numeric
  • 16-bit unsigned integer numeric
  • 32-bit unsigned integer numeric
  • 64-bit unsigned integer numeric
  • Boolean
  • Structure
  • Cell array

Scalars and One-Dimensional Arrays

String

Note Note  MathScript represents scalar strings internally as arrays of the corresponding ASCII character codes. As a result, in an array of strings with uneven lengths, MathScript appends zeros to strings until all strings are the same length as the longest string because all rows of an array must have the same number of columns. For example, MathScript represents ['a'; 'bb'] as [97, 0; 98, 98] internally.

Other Data Types

  • Matrix of complex elements
  • Matrix of real elements
  • Plot object
    Note  You cannot configure MathScript Node output terminals using the plot object type.
  • (Control Design and Simulation Module) Transfer function model
  • (Control Design and Simulation Module) State-space model
  • (Control Design and Simulation Module) Zero-pole-gain model

LabVIEW recognizes many of the data types available in MathScript and the MATLAB® software, although the names of the data types might be different.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit