Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 5 out of 5     Rate this Document

With The LabVIEW FPGA Module, Which Array Functions Return Fixed-Size Arrays?

Primary Software: LabVIEW Modules>>FPGA Module
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
The LabVIEW FPGA Module supports only fixed-size arrays in FPGA VIs. Which Array functions return fixed-size arrays?

Solution:
Any array in an FPGA VI must be fixed-size. The following Array functions can return fixed-size arrays as long as their inputs are specified correctly.
  • Array Subset—The index and length inputs must be constant. You also can make all inputs constant.
  • Build Array—You can use constant or non-constant inputs.
  • Cluster To Array—You can use constant or non-constant inputs.
  • Decimate 1D Array—You can use constant or non-constant inputs.
  • Delete From Array—The length and index inputs must be constant. You also can make all inputs constant.
  • Initialize Array—The element input can be non-constant. The dimension size input must be constant. You also can make all inputs constant.
  • Insert Into Array—The index input must be constant. You also can make all inputs constant.
  • Interleave 1D Array—You can use constant or non-constant inputs.
  • Replace Array Subset—You can use constant or non-constant inputs.
  • Reshape Array—The dimension size input must be constant.
  • Reverse 1D Array—You can use constant or non-constant inputs.
  • Rotate 1D Array—You can use constant or non-constant inputs.
  • Split 1D Array—The index must be a constant. You also can make all inputs constant.
Note:  Use constant inputs when you can because they are more efficient in FPGA VIs.

For more information about fixed-size arrays, refer to the related links.

If using a version of LabVIEW older than 8.0, refer to Chapter 2, Creating FPGA VIs, of the LabVIEW FPGA Module User Manual, available by selecting Start»Programs»National Instruments»LabVIEW 7.0»Module Documents»LabVIEW FPGA Module User Manual.

Related Links: LabVIEW FPGA Module Help: Creating Fixed-Size Arrays
KnowledgeBase 4P8GRJEQ: Why am I Getting a Broken Arrow When I Know my Array is Fixed Size?

Attachments:





Report Date: 05/16/2003
Last Updated: 11/20/2008
Document ID: 2WSG4L83

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit