Page 1 of 2

App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 3:50 pm
by stefan.erni
Hi Steve

The good news. V10.0.1.16 is working fine on win11.

A problem from before and now is ...

If I choose to see the macros, every thing is working fast. When i press to see the variable it's need 20 second to change to variable and from now FC10 is very slow to work.

Then I go back to see the macros again it's need no time and FC10 is very extrem fast.

regards

Stefan
Snag_1a7834f.png
Snag_1a7834f.png (104.86 KiB) Viewed 3537 times

Re: App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 4:06 pm
by Steve-Matrix
Is this in v10?

In v10, if the Variables tab is open, it might try to update all the variables during simulation. This can be prevented if you have the simulation speed set to "Fast (no updates)".
sim speed fast (no updates).png
sim speed fast (no updates).png (3.16 KiB) Viewed 3532 times

Re: App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 4:07 pm
by Steve-Matrix
But 20 seconds is extremely slow. Is this happening on all projects or just a specific project?

Re: App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 4:22 pm
by stefan.erni
Hi Steve

Yes in FC10 V10.0.1.18. (and before )

The simulation works perfect and while the simulation is working to jump between variable and macros tab is fast..
But while "normal programming" it's slow to jump and working if the variable tab is selected.All another tab are fast and no problem.

Re: App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 4:25 pm
by stefan.erni
Ok I testet with a swiss stopwatch... it's 30seconds.

not all program some are working fine

Re: App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 4:27 pm
by Steve-Matrix
Please PM me a project which has this problem and I will investigate.

Re: App Developper: Flowcode speed different

Posted: Thu Feb 16, 2023 6:06 pm
by Steve-Matrix
Thanks, Stefan. I have received your project and can replicate the problem. I will investigate further in the morning.

Re: App Developper: Flowcode speed different

Posted: Fri Feb 17, 2023 10:30 am
by Steve-Matrix
Hi Stefan,

I've discovered the problem and will add a fix to a future update.

This issue will affect any project with a lot of variables and a lot of macros and is caused by a check to see if the variable is being used in the project every time the list is redrawn.

The workaround for now is to avoid using the "Variables" tab unless it is necessary.

Re: App Developper: Flowcode speed different

Posted: Fri Feb 17, 2023 10:46 am
by stefan.erni
Hi Steve

I can keep working like this for a certain amount of time. No problem.

as an example: With the calculation command the variable edit is very fast

regards

Stefan

Re: App Developper: Flowcode speed different

Posted: Fri Feb 17, 2023 10:49 am
by Steve-Matrix
Good point - you can use a Calculation icon to add, remove and edit variables and so do it there instead of via the "Variables" tab in Project Explorer.