EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: errro running "ibtest"
From: Rod Nussbaumer <[email protected]>
To: tzk6s <[email protected]>
Cc: [email protected]
Date: Thu, 31 May 2012 08:42:38 -0700
tzk6s:

My version of ibtest does not display 'EDVR', but I think the EDVR status is irrelevant if IBERR is zero. The response is saying that 25 bytes were delivered to the instrument, but your command string only contains 20 visible characters, and that seems unusual. Did the instrument respond as you expect? If the instrument supports some kind of query commands, have you tried sending a query, and then reading the response? The '*IDN?' query is a common SCPI query that many instruments implement, which normally returns a string that describes the make, model, and feature set of the instrument.

Rod Nussbaumer
ISAC Controls, TRIUMF
Vancouver, Canada.


tzk6s wrote:
Hi, everyone:
I'm trying to connect a GPIB device via LINUX-GPIB.The driver for NI
GPIB card had been setup successfully.When testing with "ibtest" ,I got
the erro:
[root@localhost etc]# ibtest
Do you wish to open a (d)evice or an interface (b)oard?
(you probably want to open a device): d
enter primary gpib address for device you wish to open [0-30]: 3
trying to open pad = 3 on /dev/gpib0 ...
You can:
w(a)it for an event
write (c)ommand bytes to bus (system controller only)
send (d)evice clear (device only)
change remote (e)nable line (system controller only)
(g)o to standby (release ATN line, system contro! ller only)
send (i)nterface clear (system controller only)
ta(k)e control (assert ATN line, system controller only)
get bus (l)ine status (board only)
go to local (m)ode
change end (o)f transmission configuration
(q)uit
(r)ead string
perform (s)erial poll (device only)
change (t)imeout on io operations
request ser(v)ice (board only)
(w)rite data string
: w
enter a string to send to your device: :CHANnel1:CURRent 0.5
sending string: :CHANnel1:CURRent 0.5
gpib status is:
ibsta = 0x8100 < ERR CMPL >
iberr= 0
EDVR 0: OS error
ibcnt = 25
Is there anything I missed?




References:
errro running "ibtest" tzk6s

Navigate by Date:
Prev: Re: [StreamDevice] parsing rapid inputs Dirk Zimoch
Next: Re: Proposed change in asyn - request for comments Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: errro running "ibtest" tzk6s
Next: waveform of STRING memory structure Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·