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  <20192020  2021  2022  2023  2024  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  <20192020  2021  2022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: Question about EPICS7 + QSRV
From: Michael Davidsaver via Tech-talk <[email protected]>
To: Florian Feldbauer <[email protected]>
Cc: "[email protected]" <[email protected]>
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  2021  2022  2023  2024  2025 
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  2021  2022  2023  2024  2025