Still Compare issue in FC5

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
henker
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

Post 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
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

User avatar
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

Post by Benj »

Hello,

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

henker
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

Post by henker »

Ben,

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

User avatar
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

Post 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

henker
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

Post 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

Post Reply