LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI-7851R compilation error for constant values in arrays

Solved!
Go to solution

Hello Guys,

Trying to index an array inside a while loop from a built array encountered a compilation error saying "Type not supported in current target". The target FPGA is PXI-7851R and the error is for the constants allocated in the built array. The attached picture shows the part of the code that makes this compilation error. I am wondering if anyone has a solution for this.

 

Thanks,

 

0 Kudos
Message 1 of 3
(3,101 Views)
Solution
Accepted by topic author Masoud_A

Are you trying to use DBL data type on the FPGA? That's not supported.

SGL is supported, but has several limitations.

In general it is advised to stick to FXP (or integer) data types.

0 Kudos
Message 2 of 3
(3,068 Views)
Solution
Accepted by topic author Masoud_A

Thank you dan_u. I changed the data type to Int16 and the problem was solved.

0 Kudos
Message 3 of 3
(3,036 Views)