You cannot use an array function that returns a variable-size array in an FPGA VI. However, if you use appropriate constants with many array functions, the resulting array is fixed-size.
The following Array functions can return fixed-size arrays:
![]() |
Note Build Array, Cluster To Array, and Initialize Array functions require that the Autopreallocate arrays and strings checkbox have a checkmark. To ensure this option is enabled, right-click the FPGA VI under the FPGA target that you are using. Select Properties in the shortcut menu. The VI Properties dialog box appears. Select Execution from the Category pull-down menu. Confirm the Autopreallocate arrays and strings checkbox is enabled and click the OK button. |
![]() |
Note Use constant inputs when you can because they are more efficient in FPGA VIs. |