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  2020  2021  2022  <20232024  2025  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  2020  2021  2022  <20232024  2025 
<== Date ==> <== Thread ==>

Subject: Re: Problem with PVA group def using .json file
From: Ignacio Arriagada via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: tech-talk at aps.anl.gov
Date: Fri, 17 Mar 2023 11:36:18 -0700
Thanks Michael! With the update, the .json file worked and I have my groups up and running.
Best regards,
Ignacio


On Fri, Mar 17, 2023 at 8:35 AM Michael Davidsaver <mdavidsaver at gmail.com> wrote:
On 3/15/23 16:50, Ignacio Arriagada via Tech-talk wrote:
> Hello everyone,
> I'm trying to configure a PVA group using a json file, but I get the following error:

...
> *synch:Page1: Error Group not created: NULL channel
> synch:Page2: Error Group not created: NULL channel*
...
> The group is defined in *cemSoftIoc.json* as follows:
...> And the database is defined in *cemSoftIoc.db* as follows:
...
> If I define the same groups within the database using the q:group definition it works without issues. But trying the json definition, it fails because of a null channel.

I suspect that this issue is fixed by a change to the pva2pva module
which has not yet been released.  With it, I am able to load a
modified version of cemSoftIoc.db  (change genSub -> aSub, remove
UF* fields) and cemSoftIoc.json.

https://github.com/epics-base/pva2pva/commit/db5af06e07b726b17422413a8176201d3687bdf9


> $ softIocPVA -m top=synch: -d cemSoftIoc.db -G cemSoftIoc.json
> Starting iocInit
> ############################################################################
> ## EPICS R7.0.7.1-DEV
> ## Rev. R7.0.7-128-g6399af2037deb2b75eb8-dirty
> ## Rev. Date Git: 2023-03-12 09:15:10 +0000
> ############################################################################
> recGblRecordError: aSubRecord::init_record - SNAM subr not found Subroutine not found PV: synch:CmplxData
> iocRun: All initialization complete
> epics> dbgl
> synch:Page1
> synch:Page2
> epics>



References:
Problem with PVA group def using .json file Ignacio Arriagada via Tech-talk
Re: Problem with PVA group def using .json file Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Problem with PVA group def using .json file Michael Davidsaver via Tech-talk
Next: using macros in Action, Execute Command Paul Sichta 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  2020  2021  2022  <20232024  2025 
Navigate by Thread:
Prev: Re: Problem with PVA group def using .json file Michael Davidsaver via Tech-talk
Next: Where the antelope play? William F Badgett Jr 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  2020  2021  2022  <20232024  2025