|
From: Mike D. <mik...@nr...> - 2005-05-13 13:08:03
|
On Fri, 13 May 2005 00:40:36 +0200
daniele paganelli <pag...@ya...> wrote:
> I think that corresponding to the interface there is a file named
> /dev/gpib or /dev/gpib0.
>
> Try chmod 777 /dev/gpib*
> I'm not sure... i'm not working with gpib for the moment and don't
> have access to the machine where I worked.
This is not the best idea from a security viewpoint.
> Tate Wilson ha scritto:
> >
> > >>>import gpib
> > >>>dmm = gpib.find('voltmeter')
> > >>>gpib.write(dmm, 'F1R1X')
> >
> > If I run this as an ordinary user the error is:
> >
> > >>>dmm = gpib.find('voltmeter')
> > libgpib: ibBoardOpen failed to open device file
> > libgpib: Permission denied
I think the way it is supposed to work is that you should add your user
account to the gpib group. Log out and back in and your user should now
have access to the gpib driver.
Mike
--
Mike Denhoff
|