EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: GPIB Problems
From: Robert Willson <[email protected]>
To: [email protected]
Date: Fri, 10 Nov 2000 19:32:56 -0500 (EST)
I am attempting to send commands through the EPICS GPIB interface with the
GpibInteract program.  An error is returned by the 'sysLocalToBusAdrs'
function in drvGpib.c, and I show the output of the GpibInteract program 
below.  The system was tested with a separate EPICS version (3.12.2) and
functioned fine.  I am using version 3.13.2.

Thanks,

Robert Willson
[email protected]



Output from GpibInteract, running on MVME167 with VxWorks v.5.3

Enter Message # to Send (1 thru 5) > 1
0x7aefc8 (tShell): niGpibIoctl(0, 8, 0, 00000000)
0x7aefc8 (tShell): niGpibIoctl(0, 9, 0, 007067FC)
0x7aefc8 (tShell): qgpibreq(0x007067DC, 2): transaction queued
0x5bf200 (ib-00): niSrqIntDisable(0): ch0.csr = 0x01, gsr=0xFFFFFFFF
0x5bf200 (ib-00): ibLinkTask(5, 0): got an event
0x5bf200 (ib-00): ibLinkTask(5, 0): got Hi Pri xact, pnode= 0x007067DC
0x5bf200 (ib-00): GI's gpibWork() was called for command >hvon<
0x5bf200 (ib-00): writeIb(0071A888, 5, 0x00706809, 4, 30)
0x5bf200 (ib-00): writeIbCmd(0071A888, 005BF17E, 4)
0x5bf200 (ib-00): niGpibCmd(0, 0x005BF17E, 4): command string >q
                                                                <
0x5bf200 (ib-00): niGpibWrite(0, 0x00706809, 4, 30)
0x5bf200 (ib-00): writeIbCmd(0071A888, 005BF17E, 2)
0x5bf200 (ib-00): niGpibCmd(0, 0x005BF17E, 2): command string >q
                                                                <
0x5bf200 (ib-00): niSrqIntEnable(0): ch0.csr = 0x01, gsr=0xFFFFFFFF

Message #1 : LinkType=5 bug=0 Link=0 Adrs=5 Type=w
Cmd: 00: 68 76 6F 6E                                          *hvon*
Res: 00: 47 50 49 42 20 54 49 4D 45 4F 55 54 20 28 77 68      *GPIB
TIMEOUT (wh*     10: 69 6C 65 20 74 61 6C 6B 69 6E 67 29
*ile talking)*

---------------------------------------------------------------------

It looks like there is a problem in passing strings, niGpibCmd should
print ?_%@ as its command string.  







Navigate by Date:
Prev: Re: CapFast update Leonard J. Reder
Next: Access security by IP number? Susanna Jacobson
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CapFast update Leonard J. Reder
Next: Re: GPIB Problems Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·