Experimental Physics and Industrial Control System
Dear Sir,
We are using a client application develop using CaChannel-1.5
epics python interface library. The CA server is exposing a longout record
which we are interested in monitoring.Â
When ever the record attends the âive values. The client showsÂÂ2**32-val instead of value.Âwhile the same code works well with ao record type .
The Code is as below:
###################################################
def eventMon(epics_args, user_args):
ÂÂglobal monPV, now
ÂÂprint monPV, now, epics_args['pv_value']
def main():
ÂÂglobal stop, now
ÂÂtry:
ÂÂ ÂmonChan = CaChannel()
ÂÂ ÂmonChan.search(monPV)
ÂÂ ÂmonChan.pend_io()
ÂÂ Âprint now
ÂÂexcept CaChannelException, status:
ÂÂ Âprint ca.message(status)
ÂÂtry:
ÂÂ ÂmonChan.add_masked_array_event(ca.dbf_type_to_DBR_STS(monChan.field_type()), \
ÂÂ Â Â Â ÂNone, ca.DBE_VALUE | ca.DBE_ALARM, eventMon)
ÂÂexcept CaChannelException, status:
ÂÂ Âprint ca.message(status)
ÂÂwhile not stop:
ÂÂ Ânow = strftime('\t%Y-%m-%d %X\t')
ÂÂ Âca.pend_event(0.5)
###################################################
Best Regards,
Ritesh SugandhiÂ
- Replies:
- RE: Long out record PV Monitoring error in client using CaChannel-1.5 python interface Pam Gurd
- RE: Long out record PV Monitoring error in client using CaChannel-1.5 python interface Wang Xiaoqiang
- Navigate by Date:
- Prev:
Re: makeBaseApp.pl in 3.14.12 with custom INSTALL_LOCATION Hinko Kocevar
- Next:
RE: Long out record PV Monitoring error in client using CaChannel-1.5 python interface Pam Gurd
- 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: Monitoring CPU temperature for small IOC Allison, Stephanie
- Next:
RE: Long out record PV Monitoring error in client using CaChannel-1.5 python interface Pam Gurd
- 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