Set Array Data Properties VI

LabVIEW 2012 GPU Analysis Toolkit Help

Edition Date: June 2012

Part Number: 373575A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: LVGPU SDK

Requires: GPU Analysis Toolkit

Assigns the 1D array data properties and custom data elements to store in the 1D array data class. This VI overwrites any existing properties in the 1D array data class. Wire data to the GPU 1D U8 Array Data in input to determine the polymorphic instance to use.

The connector pane displays the default data types for this polymorphic function.


Extra Data Dim specifies the size, in elements, of the 1D array data.
Extra Data Ptr specifies the extra data pointer.
GPU 1D U8 Array Data in specifies a 1D array data pointer class. This input accepts a 1D array of the following data types:

  • 8-bit unsigned integers
  • 16-bit unsigned integers
  • 32-bit unsigned integers
  • 8-bit signed integers
  • 16-bit signed integers
  • 32-bit signed integers
  • Single-precision, floating-point numbers
  • Double-precision, floating-point numbers
  • Complex single-precision, floating-point numbers
  • Complex double-precision, floating-point
GPU Array Descriptor specifies the 1D array data properties.
Extra Custom Data specifies an extra GPU custom data class.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Cleanup Procedure Address specifies the address of the procedure to free the 1D array data and the extra data pointer.
GPU 1D U8 Array Data out returns the 1D array data pointer class. This output returns the same data type that you wire to GPU 1D U8 Array Data in.
error out contains error information. This output provides standard error out functionality.

Set Array Data Properties Details

For more information about how to use the LVCUDA SDK and LVGPU SDK VIs, refer to the KnowledgeBase article Customizing GPU Computing Using the GPU Analysis Toolkit at

To avoid leaking resources, call the Get Array Data Properties VI to retrieve properties that require special handling. Alternatively, close the 1D array data class by calling the Destroy Array Data VI and generate a new 1D array data class using the Create Array Data VI before setting properties with this VI.


Not Helpful