Search found 10 matches

by waischa
25 Apr 2024, 12:39
Forum: Software
Topic: Fresh RevPI Login Inconnect
Replies: 3
Views: 179

Re: Fresh RevPI Login Inconnect

Oh thank you!!! hahaha, it works, silly me
by waischa
25 Apr 2024, 12:30
Forum: Software
Topic: Fresh RevPI Login Inconnect
Replies: 3
Views: 179

Fresh RevPI Login Inconnect

Hi RevPi, I have just removed the wrap from a newly purchased RevPi and I have connected it to 24V, mouse and keyboard to setup RevPi. However, when I boot it up and it asked for ID and password, I typed this: ID: pi Password: raspberry It says Login incorrect, I have searched other website and high...
by waischa
18 Aug 2023, 03:09
Forum: Software
Topic: RevPi Watchdog
Replies: 1
Views: 1142

RevPi Watchdog

Hi RevPi,

I have a program that autostart when RevPi boot up. Now, I have concern that the program will cause the OS the crash or the program crashed itself.

Can someone guide me a watchdog for the running script and a watchdog for the OS of RevPi as well?

Thank you! :)
by waischa
16 Aug 2023, 12:10
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 2595

Re: Autostart python folder

Could you check also the log file: `cat /var/log/revpipyloadapp`? It looks like the program crashes, the outputs from the program itself are in the file `revpipyloadapp`, I forgot to mention in the last post, sorry. :D Hi Sven, It is running now, that log file is very useful! It seems that when I w...
by waischa
16 Aug 2023, 09:42
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 2595

Re: Autostart python folder

And it's running now? Are the sections [MQTT], [XMLRPC], etc. also double in your configuration file? If so, please delete the duplicate occurrences completely. The value `plcprogram_watchdog = 1` is not good! The number is the timeout in seconds. If you activate the software watchdog, it must also...
by waischa
16 Aug 2023, 07:54
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 2595

Re: Autostart python folder

Please check the `autostart=1` parameter in /etc/revpipyload/revpipyload.conf. It must be `1`. Checkout `plcuid` and `plcgid` maybe you have to change the values, if you need your script running as root. https://revpimodio.org/en/revpipyplc-2/revpipyload/ Regards Sven Hi Sven, Yes, I need it to run...
by waischa
15 Aug 2023, 15:23
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 2595

Re: Autostart python folder

Hi waischa. Did I understand you correctly that your Python program does not contain any GUI elements, so it could actually run on the command-line? Then you would have the possibility to use RevPiPyLoad. The service starts your program automatically and also monitors it. If it crashes, it can be r...
by waischa
08 Jun 2023, 09:58
Forum: RevPiModIO
Topic: RevPiModIO 20ms Exceeded - Can not hold cycle time
Replies: 2
Views: 2771

Re: RevPiModIO 20ms Exceeded - Can not hold cycle time

Hi, - In the command line, for example, you could use `htop` to display CPU and RAM consumption. Then you can also find the responsible process. I have tried to type `htop` in the command prompt but nothing pop up, it just goes to the next line and nothing else. Next, my autorefresh is indeed out of...
by waischa
08 Jun 2023, 06:07
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 2595

Autostart python folder

Hi all, I have been trying to autostart my revpi python scripts and the only thing working is with GUI. However, I want to run my python script as a script or command prompt since it might lessen the workload of the revpi (I want Revpi to run 24/7). Anyone can help guide me to the right direction to...
by waischa
08 Jun 2023, 06:01
Forum: RevPiModIO
Topic: RevPiModIO 20ms Exceeded - Can not hold cycle time
Replies: 2
Views: 2771

RevPiModIO 20ms Exceeded - Can not hold cycle time

Hi all, I have encountered this problem: /usr/lib/python3/dist-packages/revpimodio2/helper.py:617: RuntimeWarning: cycle time of 20 ms exceeded - can not hold cycle time! RuntimeWarning Why is this happening? My code has been running for 3 days straight until this error began to pop up and then proc...