App Developper: Flowcode speed different

Any bugs you encounter with Flowcode should be discussed here.
stefan.erni
Valued Contributor
Posts: 758
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

App Developper: Flowcode speed different

Post 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 1125 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developper: Flowcode speed different

Post 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 1120 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developper: Flowcode speed different

Post by Steve-Matrix »

But 20 seconds is extremely slow. Is this happening on all projects or just a specific project?

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developper: Flowcode speed different

Post 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.

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developper: Flowcode speed different

Post by stefan.erni »

Ok I testet with a swiss stopwatch... it's 30seconds.

not all program some are working fine

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developper: Flowcode speed different

Post by Steve-Matrix »

Please PM me a project which has this problem and I will investigate.

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developper: Flowcode speed different

Post by Steve-Matrix »

Thanks, Stefan. I have received your project and can replicate the problem. I will investigate further in the morning.

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developper: Flowcode speed different

Post 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.

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developper: Flowcode speed different

Post 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

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developper: Flowcode speed different

Post 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.

Post Reply