EPICS Home

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  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  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: devAsynUInt32Digital: add parameter for shifting?
From: "Konrad, Martin" <[email protected]>
To: Mark Rivers <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
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: [email protected]

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  2020  2021  2022  2023  2024 
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  2020  2021  2022  2023  2024