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!
Compiling crashes Flowcode V4
Moderator: Benj
- 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
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.
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.
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
Re: Compiling crashes Flowcode V4
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
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
Re: Compiling crashes Flowcode V4
To address your other question the file came from the example library on the flowcode support page
Thanks,
George
Thanks,
George
- 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
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.
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.
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
- 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
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.
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
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