EPICS Home

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: Re: pvput to channelName of NTMultiChannel is having colon parsed
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Paduan Donadio, Marcio" <marcio at slac.stanford.edu>, John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 10 Dec 2020 22:25:46 -0800
On 12/10/20 8:50 PM, Paduan Donadio, Marcio via Tech-talk wrote:
> 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="[GMDTest:NTScalar]"

Did you try:

> $ pvput GMDTest:NTMultiChannel 'channelName=["GMDTest:NTScalar"]'

This is meant to be JSON syntax, so strings need to be quoted.

 
> $ pvput GMDTest:NTMultiChannel '{"channelName":["GMDTest:NTScalar"]}'
> 
> JSON syntax not supported by this build.

This should work.  It was a regression fixed with >=7.0.4

Replies:
Re: pvput to channelName of NTMultiChannel is having colon parsed Paduan Donadio, Marcio via Tech-talk
References:
pvput to channelName of NTMultiChannel is having colon parsed Paduan Donadio, Marcio via Tech-talk

Navigate by Date:
Prev: pvput to channelName of NTMultiChannel is having colon parsed Paduan Donadio, Marcio via Tech-talk
Next: Re: Timestamping Confusion 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: pvput to channelName of NTMultiChannel is having colon parsed Paduan Donadio, Marcio via Tech-talk
Next: Re: pvput to channelName of NTMultiChannel is having colon parsed Paduan Donadio, Marcio 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