Argonne National Laboratory

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  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Should ai, ao records have RAWH, RAWL?
From: Jeff Hill <johill@lanl.gov>
To: Marty Kraimer <mrk@aps.anl.gov>
Cc: tech-talk@aps.anl.gov
Date: Wed, 09 Oct 1996 11:43:28 -0600
Marty Kraimer wrote:
> 
> Last week during a visit at DESY, Gabor Csuka
> suggested that the ai and ao records should have two additional
> fields RAWH and RAWL. The reason is that often it is possible
> to create common device support for a set of modules that differ
> only in the number of bits and/or polarity.
> 
> I expressed concern that this opens door to an unlimited
> set of configuration fields. After discussion I had to agree
> that these two fields  are generic enough that perhaps
> we should add them. They would not impact any existing support
> but future support could use them.
> 
> For example if a device is a bi-polar 12 bit adc the fields would
> be
> 
> RAWH 2047 RAWL -2048
> 
> If the device is a 14 bit unipolar adc the fields would be:
> 
> RAWH 16383 RAWL 0
> 
> Comments anyone?
> 
> Marty Kraimer

By default such things should be displayed and configured
in hex?

I wonder if this really belongs in a device specific 
configuration system (which does not exist). It would 
be nice if the device driver author optionally specified 
some information about the configuration parameters that 
it needs in an ascii file (ie data type, description, 
ranges etc for each parameter). During initialization the 
device driver would be provided with optional read access 
to a list of these parameters via some API.

Jeff

-- 
______________________________________________________________________
Jeffrey O. Hill                 Internet        johill@lanl.gov
LANL MS H820                    Voice           505 665 1831
Los Alamos, NM 87545 USA        FAX             505 665 5107


References:
Should ai, ao records have RAWH, RAWL? Marty Kraimer

Navigate by Date:
Prev: RE: Should ai, ao records have RAWH, RAWL? 415
Next: Re: Should ai, ao records have RAWH, RAWL? William Lupton
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Should ai, ao records have RAWH, RAWL? Marty Kraimer
Next: Re: Should ai, ao records have RAWH, RAWL? Jim B. Kowalkowski
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·