Moderator: RevPiModIO

 
kodyaz
Topic Author
Posts: 16
Joined: 13 Oct 2018, 06:57

RevPiModIO2 Error ?

07 Feb 2019, 20:24

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 347 times
 
kodyaz
Topic Author
Posts: 16
Joined: 13 Oct 2018, 06:57

Re: RevPiModIO2 Error ?

23 Feb 2019, 10:30

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

Re: RevPiModIO2 Error ?

25 Feb 2019, 12:18

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?
ls -lah /dev/piControl0

Could you use your existing program c.py and extend it like this:
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!

Who is online

Users browsing this forum: No registered users and 2 guests