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

Subject: Request for opinions about device driver/support
From: Gurd Pamela EXT <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 8 Jun 2011 17:38:23 +0200

Here at ITER, a driver has been developed to interface to the channels of the NI PXI 6259 board, which has

binary input and output, analog input and output and waveform data capabilities.  In order for the analog

input records to provide data, several parameters must be initialized:

 

“num_ai_chans”, “sample_rate”, “num_samples”.

 

Also, the “channel_type” must be set up for each record.

 

In the ITER implementation, each of these parameters is initialized by using an EPICS record.  I am not familiar with another driver that works that way.  Is this a common practice of which I'm not aware? Are there advantages or disadvantages?

 

My own feeling on this is:

 

1. My preferred approach would be to set these parameters in an initialization call. (There already is one, anyhow.)

 

2. Sometimes it might be useful to have quick and easy ways to set some of these parameters experimentally, but I expect that operationally they would almost always be set up once and left that way forever.  In any case, records for setting parameters could be allowed, but shouldn't be required.

 

3. I think it unlikely that one will want to set "num_ai_chans" (controls the number of ai channels that are updated by the driver) after initialization, at least until we have an EPICS version that allows dynamic record allocation.  (Would it be a good idea to set this based on the records that are found?  Just an idea.)

 

Thanks for your input.

 

   Pam.

 

 

Description: iterlogo 
Pamela Gurd
External Contractor
CODAC Division

 
ITER Organization, Building 519/026, DIP, Directorate for CODAC, Heating and Diagnostics
Route de Vinon sur Verdon – 13115 St Paul Lez Durance – France
Phone: +33 4 42 17 64 88


Replies:
RE: Request for opinions about device driver/support Hu, Yong

Navigate by Date:
Prev: RE: general purpose callback tasks : callbackRequest() Davidsaver, Michael
Next: RE: Request for opinions about device driver/support Hu, Yong
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  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: unsymmetrical mutex use in dbCa.c Jeff Hill
Next: RE: Request for opinions about device driver/support Hu, Yong
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  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 ·