From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

datatype (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: membership

Requires: MathScript RT Module

Syntax

c = datatype(a)

Legacy Name: class

Description

Returns the data type of a variable.

Examples

Inputs

Name Description
a Specifies a variable.

Outputs

Name Description
c Returns the data type of a. Valid data types are: double, Boolean, char, int8, int16, int32, int64, uint8, uint16, uint32, and uint64. LabVIEW modules and toolkits you have installed might provide additional data types. c is a string.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A = 12*23+4i
C = datatype(A)

Related Topics

is_member

WAS THIS ARTICLE HELPFUL?

Not Helpful