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
Still Compare issue in FC5
Moderator: Benj
-
- Posts: 45
- Joined: Mon Dec 22, 2008 11:22 pm
- Location: Prospect, NS, Canada
- Has thanked: 7 times
- Been thanked: 2 times
Still Compare issue in FC5
- Attachments
-
- EOS_1000_V1.02.3w.hex
- Same as other file but compiled through FC5.4
- (70.21 KiB) Downloaded 263 times
-
- EOS_1000_V1.02.3.hex
- Working correctly, compiled with FC3
- (82.64 KiB) Downloaded 255 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Still Compare issue in FC5
Hello,
Any chance you can attach the v5 Flowcode project .FCF file? Or at least a file that demonstrates the issue.
Any chance you can attach the v5 Flowcode project .FCF file? Or at least a file that demonstrates the issue.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Still Compare issue in FC5
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
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
-
- Posts: 45
- Joined: Mon Dec 22, 2008 11:22 pm
- Location: Prospect, NS, Canada
- Has thanked: 7 times
- Been thanked: 2 times
Re: Still Compare issue in FC5
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
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