Hi Ben,
How did it go.
Do you think you will be able to create an example for the Pi with external pages.
Regards,
Bob
Unresponsive web pages
-
- Posts: 283
- http://meble-kuchenne.info.pl
- Joined: Sat Mar 19, 2022 4:53 pm
- Has thanked: 25 times
- Been thanked: 32 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: Unresponsive web pages
Hi Bob,
Are things any better if you remove the 1s delay from the main loop. This could well be causing timeouts etc.
You may also want to change the simulation speed from fast (with updates) to fast (no updates) to make the sim run faster.
With both of these changes the sim is certainly running a lot better with my browser.
Are things any better if you remove the 1s delay from the main loop. This could well be causing timeouts etc.
You may also want to change the simulation speed from fast (with updates) to fast (no updates) to make the sim run faster.
With both of these changes the sim is certainly running a lot better with my browser.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Unresponsive web pages
Hi Ben,
I added the delay as suggested in post 2 as it was problematic, I took it out as you suggested and altered the sim speed but no luck.
Is it possible to post an example for the Pi with external pages as I would prefer to try on the actual hardware.
Bob
I added the delay as suggested in post 2 as it was problematic, I took it out as you suggested and altered the sim speed but no luck.
Is it possible to post an example for the Pi with external pages as I would prefer to try on the actual hardware.
Bob
-
- Valued Contributor
- Posts: 447
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 81 times
- Been thanked: 243 times
Re: Unresponsive web pages
I should have given more details about the delay,
I was thinking 10 to 50 ms to relinquish to other tasks,
but this was when I thought you were running on ESP
Regarding Raspberry Pi, are you also running Apache (or other) web server?
Could try running the Flowcode program on another port, rather than 80?
I was thinking 10 to 50 ms to relinquish to other tasks,
but this was when I thought you were running on ESP
Regarding Raspberry Pi, are you also running Apache (or other) web server?
Could try running the Flowcode program on another port, rather than 80?
Re: Unresponsive web pages
Hi LeighM,
I am not sure I can use the Pi to try internal pages now as I have external pages and I would need to delete everything.
I thought I would persevere with implementing the external ones but I think I have drawn a blank there.
I changed from embedded to File / SD card and copied the files to the directory where the project is but no go. I would like to have them in /var/www/html but not sure if that is possible.
Does the index file have to be htm or can it be html?
I wonder if I should put anything in the "fcomponent", the help says it is to redirect for SD card.
Bob
I am not sure I can use the Pi to try internal pages now as I have external pages and I would need to delete everything.
I thought I would persevere with implementing the external ones but I think I have drawn a blank there.
I changed from embedded to File / SD card and copied the files to the directory where the project is but no go. I would like to have them in /var/www/html but not sure if that is possible.
Does the index file have to be htm or can it be html?
I wonder if I should put anything in the "fcomponent", the help says it is to redirect for SD card.
Bob
Re: Unresponsive web pages
Hi Ben,
Is there any chance you can do an example for the Raspberry Pi using external web pages with a couple of parameters please. I am getting nowhere with this which is quite frustrating as it is the work up till now is wasted if I cannot see the data.
I managed to get variables out with the embedded pages but could not enter anything so a variable either way would be much appreciated.
Regards,
Bob
Is there any chance you can do an example for the Raspberry Pi using external web pages with a couple of parameters please. I am getting nowhere with this which is quite frustrating as it is the work up till now is wasted if I cannot see the data.
I managed to get variables out with the embedded pages but could not enter anything so a variable either way would be much appreciated.
Regards,
Bob
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: Unresponsive web pages
Hi Bob,
Sorry I don't currently have a RPI in the office to generate the example which is causing the delay, RPis are tricky to get hold of at the moment.
I've made a note to generate you a working example next time I'm at my home office as I have a RPi running there. I should be able to do this for you next week if that's ok.
Sorry I don't currently have a RPI in the office to generate the example which is causing the delay, RPis are tricky to get hold of at the moment.
I've made a note to generate you a working example next time I'm at my home office as I have a RPi running there. I should be able to do this for you next week if that's ok.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Unresponsive web pages
Hi Ben,
Are we any closer, it is almost 3 weeks and I am getting a bit concerned this is not possible. A bit frustrating as I have all but given up on this project now.
Regards,
Bob
Are we any closer, it is almost 3 weeks and I am getting a bit concerned this is not possible. A bit frustrating as I have all but given up on this project now.
Regards,
Bob