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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: Question about EPICS7 + QSRV
From: Michael Davidsaver via Tech-talk <tech-talk@aps.anl.gov>
To: Florian Feldbauer <florian@ep1.ruhr-uni-bochum.de>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 5 Aug 2019 19:32:20 -0700
On 8/5/19 6:05 AM, Florian Feldbauer via Tech-talk wrote:
> Hey all,
> 
> I might have a use case for the QSRV feature of EPICS 7. As far as I understand, it can be used to group multiple records to a single custom "PV-Structure".
> 
> In the documentation only the VAL field of a record is put into such a structure.
> 
> Is it also possible to put other fields into it? E.g. like this:
> 
>> record(calc, "recname") {
>>     info(Q:group, {
>>         "grp:name":{
>>              "A.A":{+channel:"A" },
>>              "A.B":{+channel:"B" }
>>         }
>>     })
>> }

Yes.  Loading this snippet verbatim gives:

> $ pvinfo grp:name
> grp:name
...
> Type:
>     structure
...
>         structure A
>             epics:nt/NTScalar:1.0 A
>                 double value
>                 alarm_t alarm
>                     int severity
>                     int status
>                     string message
...
>             epics:nt/NTScalar:1.0 B
>                 double value
>                 alarm_t alarm
>                     int severity
>                     int status
>                     string message
...


References:
Question about EPICS7 + QSRV Florian Feldbauer via Tech-talk

Navigate by Date:
Prev: RE: [motorPIGCS2] can't turn on servo state of PI E-712 Chiang, Liang-Chih [江良志] via Tech-talk
Next: Re: spec epics_caget not working 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  <20192020 
Navigate by Thread:
Prev: Question about EPICS7 + QSRV Florian Feldbauer via Tech-talk
Next: comment a field with a macro Alfio Rizzo 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  <20192020 
ANJ, 07 Aug 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·