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

AZSetHandleSize/DSSetHandleSize (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr AZSetHandleSize(h, size);

MgErr DSSetHandleSize(h, size);

Purpose

Changes the size of the block of memory referenced by the specified handle.

While LabVIEW arrays are stored in DS handles, do not use this function to resize array handles. Many platforms have memory alignment requirements that make it difficult to determine the correct size for the resulting array. Instead, use either NumericArrayResize or SetCINArraySize. Do not use these functions on a locked handle.

Parameters

Name Type Description
h UHandle Handle you want to resize.
size size_t New size, in bytes, of the handle.

Return Value

MgErr, which can contain the following errors. If you receive errors from CIN 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

Resources


 

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