There are inherent differences between digital signal processors (DSPs) and general purpose processors, such as the processors in desktop PCs.
To make DSP VIs more deterministic, the DSP Module preallocates memory while building the DSP VI for the DSP target. The DSP compiler analyzes the VI and determines the sizes from the constructs you use. The following three places primarily determine the array size:
The array size cannot be empty and must be a constant size that the DSP compiler can determine when you build the DSP VI for the DSP target. The DSP Module does not detect a mismatch in the static array allocation until you build the DSP VI for the DSP target.
All array inputs in VIs and functions must be the same size. The Run button does not break in edit mode. The array in a calling VI can cause errors in the subVI when you build the VI into a DSP application.