paulscherrerinstitute / pcaspy

Portable Channel Access Server in Python
BSD 3-Clause "New" or "Revised" License
32 stars 24 forks source link

Setting subfields over channel access #89

Closed bsobhani closed 1 year ago

bsobhani commented 1 year ago

If I try to do "caput pvname.hihi 12.34" I get a channel connect time out error, same with "caput pvname.HIHI 12.34". Is there a way to set the hihi/high/low/lolo limits from channel access? My ultimate goal is for the hihi limit to be configurable from CSS.

xiaoqiangwang commented 1 year ago

It is not the same as the IOC database, you would have to create these subfields in your program. Maybe someone has done similar things.

In this example, the RAND.PREC field is implemented, https://github.com/paulscherrerinstitute/pcaspy/blob/master/example/dynamic_property.py

But still, pvname.VAL is also not automatically an alias to pvname.

bsobhani commented 1 year ago

Thank you!