Array Constant
- Updated2025-07-30
- 2 minute(s) read
Use this constant to supply a constant array value to the block diagram.
Define the type of the array constant by selecting any scalar constant from the Functions palette and placing it inside the array constant. All elements of the array are of this type. Use the >Operating tool to enter values for each array element. You cannot change the value of the array constant while the VI runs.

FPGA Module Details
The following details apply when you use this object in an FPGA VI.
Note The following details are subject to change with each version of the LabVIEW FPGA Module.
| Single-Cycle Timed Loop | Supported. |
| Usage | You can view the memory implementation for an array constant in the Context Help window when you hover over an array constant. To select a memory implementation, right-click an array and select Properties. Select Auto, Flip Flops, Look-Up Tables, or Block Memory on the FPGA Implementation tab of the Array Constant Properties dialog box. |
| Timing | This function requires no clock cycles to execute because it does not include an internal register. |
| Resources | This function alone consumes no FPGA resources. However, when the array constant is wired to a logic operation, the array uses FPGA lookup table resources, except when implemented in block memory. Large arrays can be time and resource intensive if you perform logical operations on each element of the array. Avoid using arrays larger than 32 elements with 16-bit data unless you choose a block memory or look-up table implementation for array constants. |