Experimental Physics and Industrial Control System
Hi Konrad,
What record type are you using?
devAsynUInt32Digital.c does support shifting for mbbo, mbbi, mbboDirect, and mbbiDirect records.
Mark
-----Original Message-----
From: Konrad, Martin [mailto:[email protected]]
Sent: Wednesday, May 9, 2018 8:02 AM
To: Mark Rivers <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Subject: devAsynUInt32Digital: add parameter for shifting?
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]
- References:
- devAsynUInt32Digital: add parameter for shifting? Konrad, Martin
- Navigate by Date:
- Prev:
Re: How do you generate nexus files? Pete Jemian
- Next:
Re: devAsynUInt32Digital: add parameter for shifting? Konrad, Martin
- 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
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
devAsynUInt32Digital: add parameter for shifting? Konrad, Martin
- Next:
Re: devAsynUInt32Digital: add parameter for shifting? Konrad, Martin
- 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
<2018>
2019
2020
2021
2022
2023
2024