I can not see the pictures unfortunately

Maybe you can update them?
If you run two programs on the same process image (same device) with the same instantiation it will not work!
Why?
RevPiModIO runs, with normal instantiation, in the exclusive mode on the process image. Only at the start of the program, the current values of the outputs are synchronized. During runtime, RevPiModIO ensures that the values of the outputs set in the program are written to the process image! If a value of an output in the process image is change by another program, this change is overwritten immediately. This is the only way your control remains consistent!
If two programs are now started with RevPiModIO, both of them write their values for the outputs in the process image! If the value of O_2 is set to True in program A, it will be written to the process image, but will be overwritten by program B immediately, because in that program the value of O_2 IS false and that value MUST be written to the process image!
BUT!
If program A is to control the outputs and program B only monitors them, the monitoring parameter can be set to true.
https://revpimodio.org/en/doc2/
If RevPiModIO is instantiated in program B with monitoring=True (and optionally autorefresh=True), then the outputs in program B will also show the values that program A has set. But remember: you can not write to outputs in monitoring mode.
Code: Select all
rpi = revpimodio2.RevPiModIO(autorefresh=True, monitoring=True)
Sven