Page 1 of 1
Make timeout configurable
Posted: Fri Aug 23, 2013 10:09 am
by kersing
When generating code for a flow chart with a large (almost 10000 elements) look-up table Flowcode displays a message box "An operation is taking a long time to complete. Would you like to terminate the operation"

- timeout.jpg (19.71 KiB) Viewed 6085 times
It would be nice if the timeout can be configured.
Re: Make timeout configurable
Posted: Fri Aug 23, 2013 4:33 pm
by JonnyW
Hi. I have kept meaning to put a SW watchdog enable/disable in the API.
Calls would be:
::System.WDTEnable(false)
Long operation
::System.WDTEnable(true)
I will see if I can get this in for the enxt release.
Jonny
Re: Make timeout configurable
Posted: Mon Sep 16, 2013 11:49 am
by ronaldlijs
Just to say that currently using Jac's code on FC6 whilst I'm testing makes it very difficult to actually use FC6 at all, compiling takes a long time, but worst more often than not it just hangs, pity was looking forward to g FC6... can't even consider now until this is fixed

Re: Make timeout configurable
Posted: Mon Sep 16, 2013 11:52 am
by ronaldlijs
Just to say this one might be a different problem, compiling a project that is up-to-date for example, when you hit the compile button it just hangs, sometimes... only to say that the project is up-to-date, is this not a licensing issue maybe? I have traced the Flowcode process and it seems licensing kicks in and then things stall for 15 seconds or so, anyway hope this helps, unless you know exactly where the problem lies. Thanks.
Re: Make timeout configurable
Posted: Mon Sep 16, 2013 11:59 am
by JonnyW
Hi. When you say things hang can you describe this in more detail?
Does it hang as in freeze Flowcode, or does it just sitting waiting for compile to start (can you cancel it if it does?)? Is this a repeatable issue for any chip on any platform or is it for a specific chip or platform? Is it a reliable issue or does it only happen occasionally?
Let me know as much detail as you can and we can look into it.
Cheers,
Jonny
Re: Make timeout configurable
Posted: Mon Sep 16, 2013 1:08 pm
by wayne millard
I have been having this problem as well but only on the first compile of opening a project.
wayne
Re: Make timeout configurable
Posted: Mon Sep 16, 2013 4:59 pm
by kersing
ronaldlijs wrote:Just to say that currently using Jac's code on FC6 whilst I'm testing makes it very difficult to actually use FC6 at all, compiling takes a long time, but worst more often than not it just hangs, pity was looking forward to g FC6... can't even consider now until this is fixed

I am working on updates for you that should solve this issue. It will still take a long time to compile due to the large arrays your program needs, but the messages will disappear.