You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mrk> pvput -r timeStamp.userTag PVRdouble 50
Old :
structure
structure timeStamp
int userTag 0
Error: Structure has no .value
New :
structure
structure timeStamp
int userTag 0
The following does work
mrk> pwd
/home/epicsv4/masterCPP/exampleCPP/exampleClient
mrk> bin/linux-x86_64/put -r "timeStamp.userTag" PVRdouble
provider pva channelName PVRdouble request timeStamp.userTag debug false
_____put starting__
enter one of: exit put get
channelPutConnect PVRdouble status Status [type=OK]
put
enter value or values to put
50
exit
mrk> pvget -r "timeStamp.userTag" PVRdouble
PVRdouble
structure
structure timeStamp
int userTag 50
The text was updated successfully, but these errors were encountered:
I found the previous (argument stack) behavior of pvput to be extremely non-intuitive. eg. It requires that a user anticipate whether a PV is a scalar or or an array. An incorrect assumption can fail in unexpected ways. Of course it also depends on specific handling of pvRequest which I don't like.
The new behavior requires the user to be explicit in what is intended by naming <field>=<value> with the exception of a shorthand notation which only applies to .value (which I see as the 90% case).
The following does not work
The following does work
The text was updated successfully, but these errors were encountered: