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

NumericArrayResize (LabVIEW Manager Function)

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

MgErr NumericArrayResize (int32 typeCode, int32 numDims, Uhandle *dataHP, size_t totalNewSize)

Purpose

Resizes a data handle that refers to a numeric array. This routine also accounts for alignment issues. It does not set the array dimension field. If *dataHP is NULL, LabVIEW allocates a new array handle in *dataHP.

Parameters

Name Type Description
typeCode int32 Data type for the array you want to resize.
numDims int32 Number of dimensions in the data structure to which the handle refers.
*dataHP UHandle Pointer to the handle you want to resize.
totalNewSize size_t New number of elements to which the handle refers.

Return Value

MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mZoneErrHandle or pointer not in specified zone.
mFullErr2

Possible Values for this Type Code Input

Data TypeType Code (numbers in hexadecimal)
8-bit integer 01 or iB
16-bit integer 02 or iW
32-bit integer 03 or iL
64-bit integer 04 or iQ
8-bit unsigned integer 05 or uB
16-bit unsigned integer 06 or uW
32-bit unsigned integer 07 or uL
64-bit unsigned integer 08 or uQ
Single-precision, floating-point number 09 or fs
Double-precision, floating-point number 0A or fD
Extended-precision, floating-point number 0B or fX
Complex single-precision, floating-point number 0C or cS
Complex double-precision, floating-point number 0D or cD
Complex extended-precision, floating-point number 0E or cX

 

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