EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CaPython, writing to upper 16bits?
From: [email protected]
To: [email protected]
Date: Tue, 22 Jun 2004 17:15:56 -0700
 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  <20042005  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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·