03-05-2015 07:02 AM
Hi,
for several days I was programming my FlexRIO FPGA. After one of my tries to compile the FPGA, there was this unspecified error,
which I was unable to repair.
Error says:
An internal software error in the LabVIEW FPGA Module has occurred while generating code. Please contact National Instruments technical support at ni.com/support.
Exception 61055 at: v\source\FPGA\CodeGenerator.cpp:274 - LVExcept. Err=1, File=\FPGA\DFIR\Utils\FoldingOps.cpp, Line=1393, Detail='' thrown during 'FpgaConstantFolderTransform'.
There is absolutely no sign, where the error is coming from.
Even Google doesn't know this error yet, so I am posting this.
The problem is the conversion of REAL constant to FXP in the FPGA code.
Seems like a nice BUG.
03-06-2015 06:15 AM
Hi NeoGHOST,
Thank you for reporting it.
Indeed, I can confirm that is an unexpected behavior, I have created a CAR( Corrective Action Request) that will notify NI R&D team.
As a work-around, I would suggest to do the convertion on Windows using exactly the same function and simply copy/paste the constant in fixed point that represents the desired value.
Best regards,
IR
03-06-2015 08:11 AM
Hi,
thanks,
as a solution I have just typed a 3,141592... in the constant, and it works fine. 🙂
The biggest problem was to find, where the problem is.
There was no sign pointing to place or block with error.
There was only undefined error "somewhere in the code"...
Best regards,
NeoGHOST
06-23-2015 04:12 AM
Hello,
I got the same message from the compiler, but in my case it causes enumeration functions index array.
If this function will restore constants, the code works ... will compile ...
Where is bug?
Thanks.
RomanZ