App Developer Runtime error

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

App Developer Runtime error

Post by stefan.erni »

Hi Ben

If I let my program run on a computer in the Lap, after 10-20 Minutes I get this error

The program is in the topic

https://flowcode.co.uk/forums/viewtopic.php?f=5&t=1864

An idea what I can do?

regards

Stefan
Error_11-04-2023 16-43-20.png
Error_11-04-2023 16-43-20.png (7.58 KiB) Viewed 4836 times

BenR
Matrix Staff
Posts: 1940
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 689 times

Re: App Developer Runtime error

Post by BenR »

Hi Stefan,

Steve may know more but he will likely need to be sent a crash report to be able to help. Is the problem repeatable?

WingNut
Posts: 266
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 37 times
Been thanked: 29 times

Re: App Developer Runtime error

Post by WingNut »

I had a crash earlier today in an embedded project. No apparent reason but the program had been running in sim mode. Crashed and then it gave the option to upload the dump so hats off for that

stefan.erni
Valued Contributor
Posts: 1029
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 196 times
Been thanked: 218 times

Re: App Developer Runtime error

Post by stefan.erni »

Hi Ben, Hi WingNut

There was no possibility of sending a crash report.
So the program works but randomly the program froze or once the error message came up.
This was on a very good Power PC with WIN10. Of course with a USB BlueTooth dongel.
To test, I ran the program on a HP notebook Win11 pro with additional monitor and there were no (never) problems. (A few long time tests).
I am now trying other WIN10 PCs and other USB-BT dongles.

regards

Stefan

Steve-Matrix
Matrix Staff
Posts: 1513
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 212 times
Been thanked: 351 times

Re: App Developer Runtime error

Post by Steve-Matrix »

Thanks, both. I will investigate these crashes later today.

stefan.erni
Valued Contributor
Posts: 1029
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 196 times
Been thanked: 218 times

Re: App Developer Runtime error

Post by stefan.erni »

Hi Steve

I change my program.
Im not redraw all 200mSec, new I redraw it every Second (1Second).

Then it's working perfect on:

Win7
Win10
Win11

for a long time (more than 5Hours) and it's never crash or frising.

So I wrote a crash test program to set variable redraw time.

And if it's to fast i can provocate a crash.

regards

Stefan
Crash_Test1_Single_Panel.fcsx
(68.7 KiB) Downloaded 403 times
Snag_1282f7c.png
Snag_1282f7c.png (285.56 KiB) Viewed 4772 times

Steve-Matrix
Matrix Staff
Posts: 1513
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 212 times
Been thanked: 351 times

Re: App Developer Runtime error

Post by Steve-Matrix »

Thanks, Stefan.

I've just tested it here and it seems to work every time for me without a crash. Even if I change a button so the delay time to 1 or 0.

stefan.erni
Valued Contributor
Posts: 1029
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 196 times
Been thanked: 218 times

Re: App Developer Runtime error

Post by stefan.erni »

Hi Steve

I have no idea why my computers are having problems.
I have tested again on a Win10 and Win11 computer and both freeze at higher speeds with the crash test.
Sometimes after 10 minutes sometimes faster.
So I keep running my app with one second redraw.

regards

Stefan

stefan.erni
Valued Contributor
Posts: 1029
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 196 times
Been thanked: 218 times

Re: App Developer Runtime error

Post by stefan.erni »

Hi Steve

I still have one question.
I use the gauge that can be found under CTRL -Creation.
This is really very good. And extremely practical.
But I suspect that this component is not in the update system (for me). Is there an update for it?
Would it be possible to have this gauge as a "normal" component?
And is it possible to add a command to set scale:
Lower Bound
Upper Bound
Major Tick Step
Minor Tick Step
This would change the scale depending on the sensitivity of the display (gauge)

regards

Stefan

no updates for this...
Snag_5aa802.png
Snag_5aa802.png (76.15 KiB) Viewed 4634 times
Attachments
Post_Gauge_missing1.fcsx
(12.25 KiB) Downloaded 530 times

Steve-Matrix
Matrix Staff
Posts: 1513
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 212 times
Been thanked: 351 times

Re: App Developer Runtime error

Post by Steve-Matrix »

The 2d and 3d primitives under the creation tab are fundamental components that are internally defined within Flowcode and are not components that can be updated via library updates. They can only be updated when the Flowcode "core" is updated.

As with all components, you can use the Component.Property.SetValue Built-in Function to change the values of any properties. This should allow you to change the scale. For example, "dLowerBound" is the property name for the lower bound.

Post Reply