I was just wondering if anyone using CaPython has experienced any problems setting the individual bits on a channel such as using:
ilcControlChannel_B8 = CaChannel()
ilcControlChannel_B8.search('control_mbbo_direct_' + str(ilc) + '.B8')
ilcControlChannel_B8.array_put(1) ilcControlChannel_B8.pend_io(0.1)
setting the bits B7 and below (0-7) seem to work without problems, but I'm getting an exception using bit B8 (haven't tried anything from 9-15).
I have a short wxPython application with a list of ILCs and several status flags (set online, offline, boot request, load request, reboot, clear error counts) read from various channels. The control channels seem to work but when I try and set the "Clear Error Counts" (which is the only bit in the upper 16 bit region) it gives an exception and the crate hangs it seems.
Any suggestions?
--
Michael Urashka | Advanced Light Source
- Navigate by Date:
- Prev:
asynDriver R3-2 Marty Kraimer
- Next:
New labca release available Till Straumann
- 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:
asynDriver R3-2 Marty Kraimer
- Next:
New labca release available Till Straumann
- 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
|