Hello there,
can you describe me in short what are all possible ways to programmatically configure, read and change the IOs on RevPi DIO module?
One way is to use the python library and (of course) python program to do this... What are other ways?
Is there any way through standard OS files ?
Is there any documentation how to do this from C/C++ ?
Are there any other libraries (except for python) to manipulate the outputs and read the inputs?
Thanks in advance!
All possible ways to work with DIO
Re: All possible ways to work with DIO
Hello!
You already mentioned RevPiModIO https://revpimodio.org/. This is the easiest way to interact with the RevPi modules.
Another way is through C/C++ through Linux kernel ioctl's. The piTest program is an example of how to do this: https://gitlab.com/revolutionpi/revpi-p ... type=heads. You can find the documentation for this in the "picontrol_ioctl" manual page via "man picontrol_ioctl" on a RevPi.
There isn't a way to interact with the modules through standard OS files.
I'm not aware of any other libraries existing for the RevPis.
Hope I could help!
You already mentioned RevPiModIO https://revpimodio.org/. This is the easiest way to interact with the RevPi modules.
Another way is through C/C++ through Linux kernel ioctl's. The piTest program is an example of how to do this: https://gitlab.com/revolutionpi/revpi-p ... type=heads. You can find the documentation for this in the "picontrol_ioctl" manual page via "man picontrol_ioctl" on a RevPi.
There isn't a way to interact with the modules through standard OS files.
I'm not aware of any other libraries existing for the RevPis.
Hope I could help!
- crismancich
- KUNBUS
- Posts: 45
- Joined: 05 Jan 2021, 11:25
- Location: Hamburg
- Contact:
Re: All possible ways to work with DIO
You can also use the Software Codesys if you like PLC Style programming.
Or NodeRed with is pretty easy to learn.
Maybe you can tell a bit more why you are using other ways and what you intend to do?
Or NodeRed with is pretty easy to learn.
Maybe you can tell a bit more why you are using other ways and what you intend to do?
Viele Grüße / Kind regards / Quapla’ / 此致敬意
Boris Crismancich
Boris Crismancich