RevPiModIO2 Error ?

Moderator: RevPiModIO

Post Reply
kodyaz
Posts: 16
Joined: 13 Oct 2018, 06:57

RevPiModIO2 Error ?

Post by kodyaz »

Hi, I am getting the error as in the following screen shot. How can I fix.
Thank you.Image
Attachments
error.png
error.png (218.86 KiB) Viewed 5560 times
kodyaz
Posts: 16
Joined: 13 Oct 2018, 06:57

Re: RevPiModIO2 Error ?

Post by kodyaz »

?
User avatar
RevPiModIO
KUNBUS
Posts: 335
Joined: 20 Jan 2017, 08:44
Contact:

Re: RevPiModIO2 Error ?

Post by RevPiModIO »

Hi kodyaz!

Sorry for the long wait, I missed the post - sorry!!!

It looks like the module could not communicate with the piControl0 device.

Could you type this command to a linux shell and post the return value?

Code: Select all

ls -lah /dev/piControl0

Could you use your existing program c.py and extend it like this:

Code: Select all

import revpimodio2
rpi = revpimodio2.RevPiModIO(autorefresh=False)

print(rpi.length, rpi.procimg, rpi.configrsc)

# Do some things on the process image
print(rpi._myfh.tell())
print(rpi._myfh.seek(0))
print(rpi._myfh.read(1))


Please post the outputs including errors!


I will build an extended version of RevPiModIO with a "debugging" flag to show detailed error messages.

Regards
Sven
python3-RevPiModIO - https://revpimodio.org/ || Der RevPi ist das Beste, was passieren konnte!
Post Reply