The code may interpret long values as unsigned integers. Â(In some cases, that might be what you would want.)Â ÂIt will take me some time to be able to look at this.
 Pam.
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):
print monPV, now, epics_args['pv_value']
except CaChannelException, status:
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:
now = strftime('\t%Y-%m-%d %X\t')
###################################################