Search found 4 matches

by adb
13 Aug 2023, 10:22
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 18990

Re: Python RevPiModIO library sometimes fails to change output state

Hello,
a quick update on the issue. The script is running with shared_procimg set as False for one month now and the issue didn't show up again.
by adb
10 Jul 2023, 11:41
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 18990

Re: Python RevPiModIO library sometimes fails to change output state

Hi Sven, I restarted the container with shared_procimg set as false. I'll write here in a few days with the result. In the meanwhile, I'll have a look at the library code that manage the internal buffer. Is this the Github issue you mention? https://github.com/naruxde/revpimodio2/issues/25 Best rega...
by adb
10 Jul 2023, 11:01
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 18990

Re: Python RevPiModIO library sometimes fails to change output state

Hi Sven, thank you for your super quick response! Indeed, In the main thread I'm instantiating a single instance of RevPiModIO which is shared with the other threads. The code that instantiate the RevPiModIO is as follows: revpi_connector = revpimodio2.RevPiModIO(autorefresh=True, shared_procimg=Tru...
by adb
08 Jul 2023, 10:36
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 18990

Python RevPiModIO library sometimes fails to change output state

Hello, I have a RevPi connect with a RevPI DIO module. I'm controlling the DIO module via a python script running inside a Docker container. The script is switching the output states of the DIO module in the order of 10-100 times a day. I noticed that sometimes (once every 2-3 days) the script fails...