Skip to end of banner
Go to start of banner

RevPiModIO FAQ

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

RevPiModIO is a third-party software that we have integrated into our system. If you need more information, please visit the official website. If you have any questions, please ask them in our forum, which has its own category. https://revpimodio.org/

I want to switch an output with the RevPiModIO Library, but this output oscillates.

  • Check if you have several instances of RevPiModIO running in parallel. Then there are competing accesses and the values jump

  • End all Python processes e.g. with "ps ax | grep python" and then "sudo kill [pid]"

  • Then set the output with: "piTest -w OutputValue_1, 1000 "

  • Check if the value is present at the output

  • https://revolution.kunbus.de/forum/viewtopic.php?f=6&t=3013#p10778

I get a runtime error from the RevPiModio process, what can I do?

RuntimeWarning: can not execute all event functions in one cycle
There is a discussion in our Forum: https://revolutionpi.de/forum/viewtopic.php?f=6&t=3340

I would like to know if there is an C++ library equivalent to RevPiModIO

We don't provide a C++ library that is similar to RevPiModIO.

You have to write your own library, with the help of our documentation below.

We have 2 videos on our website, in German DUB and Englisch SUB.
https://revolutionpi.com/tutorials/video-tutorials/?noredirect=en_US

you can check following videos:

Tutorial 13 – PiTest source code
Tutorial 25 – Create your own RAP file

In the download area, you will find the source code.
https://revolutionpi.de/tutorials/downloads/#revpiimages

Can I use timer events in combiation with IO signals?

If you want to use a timer after a certain value change I would recommend to use the reg_event IO function in revpimodio2 (https://revpimodio.org/en/doc2/io/ ). In the case that you want to trigger a IO at a certain time you can call a script via a cronjob or use the python library schedule https://schedule.readthedocs.io/en/stable/

https://revolutionpi.de/forum/viewtopic.php?t=3684#p13312

How to update the Python version and is there a problem with the "RevPiPyLoad" library?

Have a try with

sudo apt update
sudo apt install python 

The component “RevPiPyLoad” is developed by the RevolutionPi community.

The developers have also developed the popular Python library "RevPiModIO". Therefore there is a board in the forum with the name “RevPiModIO”. So please ask your questions here to the developers of the component.

https://revolutionpi.de/forum/viewforum.php?f=41

I would like to write a Python program using RevPiModIO that displays a variable in a window and automatically updates it after an input signal is received. Is this possible?

Yes, have a look here:

https://revolutionpi.de/forum/viewtopic.php?f=8&t=2763#p10084

What is the sample-rate/message-rate when sending message with MQTT using RevPiPyload if send_on_event is enabled?

The default cycle time on a multicore RevPi (everything except the Core 1) is 20 ms and that is the detection rate, too.

https://revolutionpi.de/forum/viewtopic.php?t=3587#p13056

I was wondering what the sample-rate/message-rate is when sending message with MQTT using Revpipyload if send_on_event is enabled?
And which change in input will trigger such an event?

https://revolutionpi.de/forum/viewtopic.php?t=3587#p13056

  • No labels