Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

uint16 (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the support class.

Syntax

c = uint16(a)

Description

Converts the input elements to 16-bit unsigned integers. LabVIEW MathScript does not support operations on uint16 data types.

Examples

Inputs

Name Description
a Specifies a matrix.

Outputs

Name Description
c Returns the 16-bit unsigned integer part of the elements in a. If an element in a is greater than 2^16-1, the corresponding element in c is 2^16-1. c is a matrix.

Examples

A = [34.333, 123456.4, -38]
C = uint16(A)

Related Topics

double
int8
int16
int32
int64
uint8
uint32
uint64


Resources


 

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