Hello,
When I work with PyEpics.PV object, I've found sometimes the value of 'char_value' in the added callback just return what 'value' meant to be. I tried with a MBBI type record, it should be expected as a string in the callback, but an integer was got. Could
somebody let me know what is the possible reason?
An mbbi record definitely should return the appropriate string in 'char_value' in a callback. That does need to be able to lookup the CTRL values, especially including the enumeration strings.
Can you do
mypv = epics.PV(pvname)
print(mypv.get(as_string=True))
print(mypv.get_info())
and see the enumeration strings?
Matt