05-06-2012 03:10 AM
Hi Guys,
I am having trouble compiling a piece of FPGA code that converts an array of four U8 numbers into a floating point number.
There are no labVIEW reported errors on the block diagram but when I attempt to compile (press the run button) I get the following error in the compilation status window.
LabVIEW FPGA: The compilation failed due to a xilinx error.
Details:
ERROR:HDLCompiler:806 - "C:/NIFPGA/jobs/SD41b8F_kGH6B4K/DeleteArrayNode_39.vhd"
Line 38: Syntax error near "/".
INFO:HDLCompiler:1061 - Parsing VHDL file
"C:/NIFPGA/jobs/SD41b8F_kGH6B4K/DiagramReset.vhd" into library work
I am compiling for a sbRIO-9606 and my operating system in Windows 7 64bit with LabVIEW 2011.
I found this post: http://digital.ni.com/public.nsf/allkb/2DA4F6A0C206E03A862578E9007DFECE that seems to refer to this problem being fixed for LV2011.
Please find my VI attached.
-Adam
05-07-2012 05:31 PM - edited 05-07-2012 05:31 PM
Adam,
So the error has to do with the 3rd delete from array in your program as the result is a size 0 array. This is a known issue. Logically you could replace the 3rd delete from array with a wire and your code should compile and behave the same the since there are only 23 elements left in your array.