I’m trying to use pvput to insert EPICS PV names to the channelName array of a NTMultiChannel. I’ve created the NTMultiChannel with a minimum of fields, just for this first test. The error at the output says
that “:” is not a known token as it is trying to parse the PV name instead of interpreting it as a generic string. I’m using EPICS base R7.0.3.1 both for the server and the clients.
$ pvput GMDTest:NTMultiChannel channelName="[abcdefg,hijklmn]"
Old : epics:nt/NTMultiChannel:1.0
any[] value
string[] channelName []
New : epics:nt/NTMultiChannel:1.0
any[] value
string[] channelName ["abcdefg", "hijklmn"]
$ pvget GMDTest:NTMultiChannel
GMDTest:NTMultiChannel epics:nt/NTMultiChannel:1.0
any[] value
string[] channelName ["abcdefg", "hijklmn"]
$ pvget GMDTest:NTScalar
GMDTest:NTScalar 0
$ pvput GMDTest:NTMultiChannel channelName="[GMDTest:NTScalar]"
Old : epics:nt/NTMultiChannel:1.0
any[] value
string[] channelName ["abcdefg", "hijklmn"]
Unknown token ':' in ":NTScalar]"Error: Unknown token
New : epics:nt/NTMultiChannel:1.0
any[] value
string[] channelName ["abcdefg", "hijklmn"]
$ pvput GMDTest:NTMultiChannel '{"channelName":["GMDTest:NTScalar"]}'
JSON syntax not supported by this build.
I’ve tried many combinations of single-quotes and double-quotes in different positions of the command. I’ve also tried a scape symbol “\”, but couldn’t make it work.
Thank you,
Márcio Paduan Donadio
Control Systems Engineer - SLAC