Experimental Physics and Industrial Control System
Hi Mark,
> What record type are you using?
longin. We are using this for reading out hardware revision numbers etc.
(8 bit ints) so we need a mask + some bit shifting.
> devAsynUInt32Digital.c does support shifting for mbbo, mbbi,
> mbboDirect, and mbbiDirect records.
Yes, but these records are a bit different from longin:
For mbbi/mbbo/mbbiDirect/mbboDirect we have:
- MASK field of the record
- SHFT field of the record
For longin we have:
- no MASK field in the record
- no SHFT field in the record
devAsynUInt32Digital provides:
- mask contained in the INP field
- no information about shifting contained in the INP field
Regards,
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: devAsynUInt32Digital: add parameter for shifting? Mark Rivers
- 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
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: devAsynUInt32Digital: add parameter for shifting? Mark Rivers
- 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
<2018>
2019
2020
2021
2022
2023
2024