Page 1 of 1

Still Compare issue in FC5

Posted: Thu Nov 29, 2012 5:20 pm
by henker
Good day,

I just discovered that there might still be a problem with the compare function in FC5.
(I'm using V5.4.)

Here is an example. I have made a project in FC3 and after compiling and uploading it to the PIC, the program is working correctly.
When loading that exact same FCF file into FC5.4, I compile it and after uploading that hex file into the PIC the task that evolves around the compare function doesn't work anymore.

attached are the two hex files, both identical, however, one is compiled through V5.4 (with w)

Hopefully someone can shed some light on this?

Thanks
henk

Re: Still Compare issue in FC5

Posted: Thu Nov 29, 2012 5:34 pm
by Benj
Hello,

Any chance you can attach the v5 Flowcode project .FCF file? Or at least a file that demonstrates the issue.

Re: Still Compare issue in FC5

Posted: Thu Nov 29, 2012 7:23 pm
by henker
Ben,

the FCV file is too large.
Can I send it to an email?

Re: Still Compare issue in FC5

Posted: Fri Nov 30, 2012 1:17 pm
by JonnyW
Hello. Thanks for bringing this to our attention. Is there any chance you can replicate the issue on your system in a smaller program?

A very large program doing multiple things can cause effects which may appear to cause the built in functions to fail. For example, comparing a string in a main loop but altering it in an interrupt timer would almost certainly cause some corruption.

It is also difficult for us to debug and validate any issues in a big program so we will tend to strip it down here first. This means we have altered the test conditions so can not say for sure if we fix your issue.

Cheers,

Jonny

Re: Still Compare issue in FC5

Posted: Fri Nov 30, 2012 7:29 pm
by henker
Johnny,

Thanks for your reply. I will make a new program (small) only doing the section with the compare function.
Having said this, what seems odd that the same code works when compiled with FC3, but not with V5.4.

Henk