EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: pvput to channelName of NTMultiChannel is having colon parsed
From: "Paduan Donadio, Marcio via Tech-talk" <tech-talk at aps.anl.gov>
To: John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 11 Dec 2020 04:50:22 +0000

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


Replies:
Re: pvput to channelName of NTMultiChannel is having colon parsed Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Phoebus Alarm Server Kafka consumer client John Dobbins via Tech-talk
Next: Re: pvput to channelName of NTMultiChannel is having colon parsed Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Phoebus Alarm Server Kafka consumer client John Dobbins via Tech-talk
Next: Re: pvput to channelName of NTMultiChannel is having colon parsed Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 11 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·