EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: How to use asyn with linux-GPIB
From: Feng Laurence <feng.laurence@gmail.com>
To: tech-talk@aps.anl.gov
Date: Mon, 14 Mar 2011 21:53:21 +0800
Hi everyone~
I'm trying to connect a scope via linux-GPIB. The driver had been
setup and read/write to the scope was successfully tested with
"ibtest"

But when typing in iocsh the command
GpibBoardDriverConfig("L2",1,0,3,0)

I got the error:
2011/03/14 21:48:44.176 L2 addr -1 : EDVR 0: OS error.
2011/03/14 21:48:44.176 L2 addr -1 : EDVR 0: OS error.
........
libgpib: invalid descriptor
libgpib: invalid descriptor
libgpib: invalid descriptor
........ alot of repeat lines.......

Looks like the GPIB device address was not set correctly. However, I
can find no hints in the asyn document for the problem. Is there
anything I missed here?


--
Laurence Feng
Superconducting Radio Frequency Group
State Key Laboratory of Nuclear Physics and Technology
Peking University, 302 Chengfu Road
Beijing 100871 China

Replies:
Re: How to use asyn with linux-GPIB Rod Nussbaumer
References:
How to use asyn with linux-GPIB Feng Laurence

Navigate by Date:
Prev: How to use asyn with linux-GPIB Feng Laurence
Next: caSnooper latest version Shankar, Murali
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: How to use asyn with linux-GPIB Feng Laurence
Next: Re: How to use asyn with linux-GPIB Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019