EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  1998  1999  2000  2001  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  <19961997  1998  1999  2000  2001  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: GP-IB extended addressing support.
From: [email protected] (Noboru Yamamoto)
To: [email protected]
Date: Mon, 21 Oct 1996 23:04:36 +0900
 Dear Colleagues,

 I think I should sent this e-mail to the GP-IB device/driver support developer,
but I'm not sure who is taking care of the code after John Winans has left APS.

 One of our users requested to support a GP-IB device which has extended
secondary GP-IB address under EPICS. We currently use NI 1014 VME board and

drvGpib.c/devCommonGpib.c come with a base EPICS distribution. 
 
 I needed to make small changes in drvGpibInterface.h,devCommonGpib.h, drvGpib.c
and devCommonGpib.c to support GP-IB secondary address. When modified
version of devGpibLib_initXx routine get the device number greater than 100
from database, it interprete it as device= 100* primary + secondary and
store it into (modified version of ) hwpvt structure. "readIb/writeIb"
takes additional argument, "int secondary" at the end of its arguments and
use it as extended GP-IB secondary 
address if it is not -1. With these modification, I could access a GP-IB
device which has multiple secondary addresses.

 Unfortunately this modification cannot handle SRQ request from a GP-IB device
which uses the extended addressing. I have no idea to expand arrays in
ibLink structure, such as srqHandler[IBAPERLINK], for extended addressing
scheme.

Thank you for reading my e-mail.
Noboru Yamamoto
KEKB Accelerator Control Group
KEK, JAPAN
Fax:+81-298-64-0321
Tel:+81-298-64-5309
e-mail:[email protected]


Navigate by Date:
Prev: A/D card for VME Len Lawrence
Next: EPICS training Bob Dalesio
Index: 1994  1995  <19961997  1998  1999  2000  2001  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: A/D card for VME Matthias Clausen DESY -MKS-2/KRYK-
Next: Re: GP-IB extended addressing support. John R. Winans
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024