Open ericonr opened 1 year ago
So far the logic behind pvxput
is very minimal, and doesn't yet understand NTEnum.
pvxput $pvname value.index=$integer
Should work, but isn't convenient.
At this point, I'm still recommending that end users continue to use the CLI tools from pvAccessCPP.
Describe the bug
pvxput
to an enum record fails withError St13runtime_error : Unable to assign value from "0"
.To Reproduce
Steps to reproduce the behavior:
pvxput $pvname $integer
orpvxput $pvname $string
An example record is:
Assignments using either the integer values or strings work with
pvput
, including when specifyingpvput -p pva
Expected behavior
For the PV put to work.
Information (please complete the following):
Ubuntu clang version 14.0.0-1ubuntu1
Alternately, from a successful build, include the output of
pvxinfo -D
.Network configuration
Additional context
The
-d
output from the command: