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

Subject: devAsynUInt32Digital: add parameter for shifting?
From: "Konrad, Martin" <konrad@frib.msu.edu>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Wed, 9 May 2018 13:02:09 +0000
Hi Mark,
devAsynUInt32Digital currently supports the following parameters:

field(INP,"@asynMask(portName,addr,mask,timeout)drvParams")

We are reading out a bunch of 32 bit registers containing smaller
numbers like 4x 8 bit. The mask allows us to pick a subset of bits but
the generic device support doesn't seem to allow us to shift them. To
make that happen we are currently using an additional calc record. I'm
wondering if this use case is common enough to justify adding another
parameter for shifting?

-Martin

-- 
Martin Konrad
High Performance Controls Team Leader
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: konrad@frib.msu.edu

Replies:
RE: devAsynUInt32Digital: add parameter for shifting? Mark Rivers
RE: devAsynUInt32Digital: add parameter for shifting? Mark Rivers

Navigate by Date:
Prev: Re: How do you generate nexus files? Pete Jemian
Next: Re: How do you generate nexus files? Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
Navigate by Thread:
Prev: combo dropdowns in CSS BOY Gregory, Ray
Next: RE: devAsynUInt32Digital: add parameter for shifting? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
ANJ, 09 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·