Search found 5 matches

by pmdevigne
27 Sep 2019, 15:44
Forum: Software
Topic: Time and date wrong on RevPi: RTC backup not working?
Replies: 14
Views: 28204

Re: Time and date wrong on RevPi

raydodo wrote: 23 Sep 2019, 13:03

Code: Select all

pi@RevPi12101:~ $ sudo hwclock -w
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed: Invalid argument
Yes, but the error is "only" a read error, I think because the RTC timer was not running before this command. Please verify that it works despite of this error.
by pmdevigne
19 Sep 2019, 11:21
Forum: Software
Topic: Time and date wrong on RevPi: RTC backup not working?
Replies: 14
Views: 28204

Re: Time and date wrong on RevPi

Hell Ray

The commands I use are :

Code: Select all

    sudo date -s "yyyy-mm-dd hh:mm"
    sudo hwclock -w
Regards
by pmdevigne
21 Jun 2019, 15:56
Forum: RevPiModIO
Topic: How to disconnect a process from RevPiModIO?
Replies: 2
Views: 7832

Re: How to disconnect a process from RevPiModIO?

Hello

Maybe, you can create a communication channel between the two processes.
Thus, the first process can tell the second to write outputs. The second process can also write its own outputs.
With that, only one process really writes the outputs.
You can use sockets for this.

Regards
by pmdevigne
27 May 2019, 16:51
Forum: RevPiModIO
Topic: input status
Replies: 4
Views: 16604

Re: input status

Thank you for your reply. It seems that you can also get this from python using print (rpi.core.ioerrorcount) It gives the information that there is a problem on the piBridge. But how to find which module is faulty ? piControl knows it, because it write it in /var/log/kern.log. And also, why the inp...
by pmdevigne
28 Mar 2019, 15:49
Forum: RevPiModIO
Topic: input status
Replies: 4
Views: 16604

input status

Hello

How do I know if an I / O extension module is no longer responding? When I remove the bridge between the CPU and an input / output module, the input values seems frozen with revpimodio2. Is there a status that indicates that an extension module is no longer responding?