Page 1 of 1

Reinit of MIO GPIO Pulse count

Posted: 07 Nov 2022, 14:48
by Alexandre
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 !

Re: Reinit of MIO GPIO Pulse count

Posted: 09 Nov 2022, 13:30
by RevPiModIO
Hi Alexandre!

Do you use revpimodio2 or do you manage the piControl yourself?

Re: Reinit of MIO GPIO Pulse count

Posted: 28 Nov 2022, 11:31
by Alexandre
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.

Re: Reinit of MIO GPIO Pulse count

Posted: 02 Feb 2023, 14:11
by Alexandre
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

Re: Reinit of MIO GPIO Pulse count

Posted: 22 Feb 2023, 23:33
by u.biakoup
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