This is a known problem with writing enum fields with pvPut in 7.0.3.
See this core-talk thread.
https://epics.anl.gov/core-talk/2019/msg00810.php
Mark
HI
I am running a simple ioc with a bi record
record(bi, "$(user):SimulationMode") {
field(DESC, "Operational Status")
field(ZNAM, "NO")
field(ONAM, "YES")
field(PINI, "YES")
field(VAL, "0")
}
And I was wondering why I cannot change its value (0/1) via pvput
unless I use –p ca option. Instead pvmnonitor and pvget are working fine.
If I put this line on the record definition
field(INP , "$(user):SimulationMode.RVAL")
Then I can change the .RVAL via pvput and then VAL will change accordingly
Why does pvput work only with Scalar and not with Enum field ?
Is this a feature ?
Thanks
Best
PhD Alfio Rizzo
Control System Integrator
Integrated Control Systems Division
European Spallation Source ERIC
Telephone: +46(0)721792342
Mail Address: P.O Box 176, SE 221 00 Lund, Sweden
Visiting address: Odarslövsvägen 113, Lund
https://europeanspallationsource.se/
![essLogo](pngviNp9yTFk2.png)