Fowcode V4.5 Freeze

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
sotos
Posts: 25
Joined: Wed Dec 12, 2007 3:14 pm
Has thanked: 10 times
Been thanked: 3 times

Fowcode V4.5 Freeze

Post by sotos »

Hi
Another annoying isue with Flowcode v4.5 .
When i try to simulate ( a very simple project ) << as fast as posible >> the program
stop to responding and its impossible to do nothing , the only way is to use the task manager
to stop and close the program .


:( :( :(
Attachments
XT 600 IGNITION V1.fcf
(9 KiB) Downloaded 297 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

Re: FOWCODE V4.5 FREEZE

Post by medelec35 »

Just a theory.
It maybe reading code too fast.
You can try placing a small delay in main loop 10ms for example.

Martin
Martin

sotos
Posts: 25
Joined: Wed Dec 12, 2007 3:14 pm
Has thanked: 10 times
Been thanked: 3 times

Re: FOWCODE V4.5 FREEZE

Post by sotos »

Hi Martin
Thak you for your answer , you are right .
If i add a small delay (1ms ) in the main loop the simulation works fine .
I hope it is not necessary in the real hardware .

Thanks Again .

Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times

Re: FOWCODE V4.5 FREEZE

Post by Steve001 »

Hi,

Just tried your program works for me . can stop and start with no problems

steve
Success always occurs in private and failure in full view.

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

Re: FOWCODE V4.5 FREEZE

Post by medelec35 »

Hi sotos & Steve,
I just tried the program without the delay, and I can confirm it does also freeze on my PC. For some strange reason when running at the fastest simulation speed, the top icon has a red outline as though you are single stepping, and program is not responding. e.g pot will not rotate at all, Also Stop,play & pause have no effect when clicked.
Flowcode Freezing .png
(174.87 KiB) Downloaded 788 times
So this could affect different operating systems in different ways.

PC specs are:
pc specs.png
(9.38 KiB) Downloaded 2433 times
Running windows 7

Martin
Martin

User avatar
Steve
Matrix Staff
Posts: 3431
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: FOWCODE V4.5 FREEZE

Post by Steve »

sotos wrote:If i add a small delay (1ms ) in the main loop the simulation works fine .
I hope it is not necessary in the real hardware.
To allow this to work in simulation with the delay but not add the delay when compiling to real hardware, you can add C code icons before and after the delay as follows:

Code: Select all

C Code Icon:
#if 0

Delay Icon:
Delay 1ms

C Code Icon:
#endif

Post Reply