New GOTO problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Chris_MIRA
Posts: 186
Joined: Wed Jan 23, 2013 3:43 pm
Has thanked: 2 times
Been thanked: 21 times
Contact:

New GOTO problem

Post by Chris_MIRA »

Hi,
Im having a recurrence of a compiling problem which seems to relate to using the GOTO component macro...
The programme works in simulation fine but when attempting to compile, fails and comes up with errors regarding the GOTO.
Ive tried the previous work arounds in older FC versions (see my older posts) and have left work around C code in the Ini MACRo for you to see)
Programme is attached, please help!
Regards,
Chris
Attachments
LREVsingletemp.fcfx
(23.21 KiB) Downloaded 196 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: New GOTO problem

Post by medelec35 »

Hi Chris,
Looks like the goto bug has not yet been sorted.

As a Temporary fix, can you replace

Code: Select all

#define FCC_IniSet_B FCC__B
with

Code: Select all

#define FCC__B FCC_Ini_file_B
, in your supplementary code.

You will also nee to move the interrupt before main loop so its only activated once.

Finally with the feedback pot placed within interrupt macro, corruption could occur as a warning is flagged up about it.

Martin
Martin

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: New GOTO problem

Post by Benj »

The Flowcode engineer had closed these bugs in the bug tracker but having a closer look the reason for closing the bugs was that he didn't understand the issue!!!

Anyway I've re-opened the bugs with the strict instructions to come and see me if they don't understand.

Sorry for the inconvenience, this is very annoying as I was sure it had been ticked off.

Now to search through the fixed bugs to see what else has been prematurely taken off the list.

Chris_MIRA
Posts: 186
Joined: Wed Jan 23, 2013 3:43 pm
Has thanked: 2 times
Been thanked: 21 times
Contact:

Re: New GOTO problem

Post by Chris_MIRA »

The code now compiles! Thanks for all your help!
regards,
Chris

Post Reply