Page 1 of 1

RevPiModIO2 Error ?

Posted: 07 Feb 2019, 20:24
by kodyaz
Hi, I am getting the error as in the following screen shot. How can I fix.
Thank you.Image

Re: RevPiModIO2 Error ?

Posted: 23 Feb 2019, 10:30
by kodyaz
?

Re: RevPiModIO2 Error ?

Posted: 25 Feb 2019, 12:18
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