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  2012  2013  2014  2015  <20162017  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  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Multiple device support for a record type
From: Stefen Paul <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Thu, 11 Aug 2016 16:09:38 +0530
Hi All,

I've built device support for ai record for a vme based ADC board.

I've used the following to add the support:

device(ai,VME_IO, devAiADCtype1, "HW Channel");

where devAiADCtype1 is the structure in the device support routine.

The things are working fine. When I insert an ai record, I get a DTYP as 'HW Channel' , I pass on the relevant VME_IO address ant the board gets read.

Now I want to build device support for ai record to support one more type of vme based ADC board to be used in the same system.

How do I do it ? Should I write something like : 

device(ai,VME_IO, devAiADCtype2, "HW Channel 2");

or is there another method of doing so ?

I mean how make multiple device support for a given record type ?

Please suggest,

Thanks,
Stefen



Replies:
Re: Multiple device support for a record type Michael Davidsaver
Re: Multiple device support for a record type Ralph Lange

Navigate by Date:
Prev: building EPICS base-13.15.4 on Windows 10 Lee, William R. (LARC-D304)[Jacobs Technology, Inc.]
Next: Re: Multiple device support for a record type Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: building EPICS base-13.15.4 on Windows 10 Lee, William R. (LARC-D304)[Jacobs Technology, Inc.]
Next: Re: Multiple device support for a record type Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 12 Aug 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·