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

Creating Fixed-Size Arrays (FPGA Module)

LabVIEW 8.6 FPGA Module Help
June 2008

NI Part Number:
371599D-01

»View Product Info

The FPGA Module supports only one-dimensional, fixed-size arrays. Multi-dimensional, bounded, and variable-size arrays are not supported.

Note  Fixed-size arrays are only supported in FPGA VIs under FPGA targets.

Creating Fixed-Size Array Controls

Complete the following steps to create a fixed-size array control.

  1. Add an array to the front panel window. An array includes an index display on the left, an element display on the right, and an optional label. is not already visible, right-click the element display or the front panel window to display the Controls palette.
  2. Drag a control or indicator into the array. For example, drag a numeric control into the array.
  3. Right-click the index of the array control and select Set Dimension Size from the shortcut menu.
  4. In the Set the size of this data item dialog box, select fixed from the Size is menu.
  5. In the at menu, enter the number of elements in the array.
  6. Click the OK button.

Creating Fixed-Size Array Constants

Complete the following steps to create a fixed-size array constant.

  1. Place an array constant on the block diagram. An array constant appears with an index display on the left, an empty element display on the right, and an optional label.
  2. Place a constant in the array.
  3. Right-click the index of the array control and select Set Dimension Size from the shortcut menu.
  4. In the Set the size of this data item dialog box, select fixed from the Size is menu.
  5. In the at menu, enter the number in elements of the array.
  6. Click the OK button.

Resources


 

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