LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array

Hello,

 

I new to LabVIEW. I need an Array to be passed from Host PC to RT and then to FPGA VI. I started implementing from FPGA VI. I am getting error "Arrays must be fixed size in current target" 

 

Johnson

0 Kudos
Message 1 of 7
(2,972 Views)

For the FPGA, you need to set the size of the Array.

Right click...and select: Set Dimension Size

0 Kudos
Message 2 of 7
(2,969 Views)

I tried doing it but still i have the error.

0 Kudos
Message 3 of 7
(2,961 Views)
Are you using a fixed size array for manipulation? Posting a snapshot of your block diagram where the array manipulation takes place would help us.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 7
(2,950 Views)

For the FPGA, make sure you have checked every array? (including SubVIs and array constants).

All FPGA Arrays have to be a fixed size

 

Also, are you using the Build Array function anywhere in the FPGA?

If so, then there may be an option somewhere that you need to set (I'm trying to find it now)

 

 

0 Kudos
Message 5 of 7
(2,940 Views)

Select: File > VI Properties > Execution

Then check: Auto preallocate Arrays and Strings

 

See if that helps.

0 Kudos
Message 6 of 7
(2,938 Views)

I have changed from array to cluster. Initially I took the parameters by indexing array. Now it is fine and working. I have attached the new VI

0 Kudos
Message 7 of 7
(2,937 Views)