Compiling crashes Flowcode V4

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
gggwww
Posts: 54
Joined: Wed Sep 09, 2009 12:50 am
Has thanked: 1 time

Compiling crashes Flowcode V4

Post by gggwww »

Hello,

I used an example flowcode program from the library off the website - when I try to compile to C, flowcode abruptly terminates without warning or any error messages - I have to restart flowcode - this is consistent everytime I try to compile.

Thanks for any help!

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: Compiling crashes Flowcode V4

Post by Benj »

Hello

Please can you tell me which example is doing this and where did you get it from? If you like you can attach the program to this forum topic and I will take it from there.

gggwww
Posts: 54
Joined: Wed Sep 09, 2009 12:50 am
Has thanked: 1 time

Re: Compiling crashes Flowcode V4

Post by gggwww »

Ben,

Thanks - attached is the voltage to float program. I added some logic to trigger on a specific voltage level and set an LED to on. Also added a button for reset. The simulation works fine.

I've noticed that if a create a flowchart from scratch in V4 it works fine ( compiles to C ok) If I use another file that was not created from scratch this is when the crash occurs.

George
Attachments
Alarm.fcf
(12.5 KiB) Downloaded 261 times

gggwww
Posts: 54
Joined: Wed Sep 09, 2009 12:50 am
Has thanked: 1 time

Re: Compiling crashes Flowcode V4

Post by gggwww »

To address your other question the file came from the example library on the flowcode support page

Thanks,

George

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: Compiling crashes Flowcode V4

Post by Benj »

Hello George

Ok I have been able to replicate your problem. I have made a few small ammendments to your file to allow it to work correctly and passed it onto the Flowcode engineers for testing. Hopefully I will be back in touch with a working version shortly.

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: Compiling crashes Flowcode V4

Post by Benj »

Hello George

Ok here is an ammended LED component that should fix the problem you are having. Simply open the archive file and copy the .OCX file into your Flowcode V4/Components directory. The program should then compile correctly.
Attachments
PIC_LEDarray.zip
(52.08 KiB) Downloaded 253 times

gggwww
Posts: 54
Joined: Wed Sep 09, 2009 12:50 am
Has thanked: 1 time

Re: Compiling crashes Flowcode V4

Post by gggwww »

Thanks Ben
Works Great !!
Best Regards,
George

Post Reply