Alexandre
Topic Author
Posts: 3
Joined: 20 Apr 2022, 15:41

Reinit of MIO GPIO Pulse count

07 Nov 2022, 14:48

Hello.

I'm using the MIO GPIO to count pulses. It works well but I would like to reinit the register to 0 each time I read it.
Is there a way to do so ?
(I'm programming in Python but it doesn't matter much).

Thank you !
 
User avatar
RevPiModIO
KUNBUS
Posts: 285
Joined: 20 Jan 2017, 08:44
Contact:

Re: Reinit of MIO GPIO Pulse count

09 Nov 2022, 13:30

Hi Alexandre!

Do you use revpimodio2 or do you manage the piControl yourself?
python3-RevPiModIO - https://revpimodio.org/ || Der RevPi ist das Beste, was passieren konnte!
 
Alexandre
Topic Author
Posts: 3
Joined: 20 Apr 2022, 15:41

Re: Reinit of MIO GPIO Pulse count

28 Nov 2022, 11:31

Hello,

Thank you for your answer and sorry for late reply.

We use revpimodio2 from Python.
Do you know how to reinit the register for counting pulse ?

Thank you.
 
Alexandre
Topic Author
Posts: 3
Joined: 20 Apr 2022, 15:41

Re: Reinit of MIO GPIO Pulse count

02 Feb 2023, 14:11

Hi.

We are still blocked regarding the MIO counter use and the need to reset it when it reach 10746 which seems to be the maximum.
Do you have any information about that ?

Thank you
 
u.biakoup
KUNBUS
Posts: 110
Joined: 14 Apr 2022, 13:04

Re: Reinit of MIO GPIO Pulse count

22 Feb 2023, 23:33

Hi Alexandre,

The counter can not be reset for MIO. This is only possible with DO/DIO modules.
The firmware in the MIO and the piBridge cannot do a reset.

To do this, you must change your device and either DO or DIO.

Best Regards

Ulrich Kouatang Biakoup | Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests