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

Subject: Re: PV Access
From: Ben Franksen via Tech-talk <tech-talk at aps.anl.gov>
To: "Kivel Niko (PSI)" <niko.kivel at psi.ch>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 26 Mar 2020 10:12:13 +0100
Am 26.03.20 um 09:49 schrieb Kivel Niko (PSI):
> In the doc, this example is given:
>
> {calc: {expr:"A*B", args:[{db:"record.VAL"}, 1.5], prec:3}}
>
> which uses the link type 'calc', which must be a valid link type
> according to the documentation. However, I receive the same error.

This is consistent. we already established that {db:"record.VAL"} is not
a valid JSON link so according to the docs, the whole "calc" is neither.

> Whenever I use anything author than 'pva'.
>
> Also, if (and it doesn't sound that strange)
> "{db:"${SYS}:constFloatPi"}" is as valid PV, so is
> "{pva:"${SYS}:constFloatPi"}", which works perfectly fine.

I guess it's called "extensible link types" for a reason ;-)

So in base-7.0 there has to be a module that extends the JSON link
syntax to handle "pva" links. But there is no extension that handles
"db". You may of course question why this is so and I can't answer that,
except that it seems to be a feature that is currently not supported.

Cheers
Ben

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

Attachment: pEpkey.asc
Description: application/pgp-keys


References:
PV Access Rolf Keitel via Tech-talk
Re: PV Access Johnson, Andrew N. via Tech-talk
Re: PV Access Kivel Niko (PSI) via Tech-talk
Re: PV Access Ralph Lange via Tech-talk
Re: PV Access Ben Franksen via Tech-talk
Re: PV Access Kivel Niko (PSI) via Tech-talk

Navigate by Date:
Prev: Re: PV Access Kivel Niko (PSI) via Tech-talk
Next: Re: PV Access Ralph Lange 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  2025 
Navigate by Thread:
Prev: Re: PV Access Kivel Niko (PSI) via Tech-talk
Next: Re: PV Access Ralph Lange 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  2025