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

Subject: Re: Use default value if CA link error
From: Luca Cavalli <LCavalli@cgspace.it>
To: "Maurizio.Montis@lnl.infn.it" <Maurizio.Montis@lnl.infn.it>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 5 Jun 2017 10:41:15 +0000
Hi Maurizio,

this seems a much better approach.
I have a stringin record with INP field getting PV from CA link, but it is missing IVOA/IVOV fields (available in stringout).
I can switch to stringout but how can I retrieve my PV value via CA link?

Thanks again,

Luca

On Mon, 2017-06-05 at 12:20 +0200, Maurizio Montis wrote:
Dear Luca,

the IVOA/IVOV mechanism should be the correct way to solve your problem,
no need of external modules.

* IVOA (Invalid Output Action) selects what to do in case the record
gets INVALID.
* IVOV (Invalid Output Value) is a CONSTANT holding the value that
should be used when the record is INVALID.

The connection going down should always put the record in LINK INVALID.

I had a similar situation and Ralph Lange pointed me to this solution
(thanks a lot Ralph!).

Cheers,

- Maurizio





On Jun 05, 2017 11:52 AM, Luca Cavalli <LCavalli@cgspace.it> wrote:

Dear all, I have a string input record which value is retrieved via CA link. When remote PV is not available (e.g. missing IOC) I would like to set "EMPTY" as string input value. My idea is to use scalcout record from synApps with CA link connected to INAA and IAAV connected to INPA, defining the output by checking INPA value and selecting INAA (Ext PV OK) or "EMPTY" constant (Ext PN NC). Before adding scalcout record to my IOC I would like to know if this is a good approach. Is there a simpler solution? Thanks, Luca
~~ Maurizio Montis - Control System Engineer ~~ office: +39 0498068558 mobile: +39 3408428089 mail: maurizio.montis@lnl.infn.it skype: maurizio_montis Istituto Nazionale di Fisica Nucleare - Laboratori Nazionali di Legnaro V.le dell'Universita', 2 35020 LEGNARO (PD) - ITALY

 



<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>

<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email it@cgspace.it if you need assistance >>
 


Replies:
Re: Use default value if CA link error Maurizio Montis
References:
Use default value if CA link error Luca Cavalli
Re: Use default value if CA link error Maurizio Montis

Navigate by Date:
Prev: Re: Use default value if CA link error Maurizio Montis
Next: Re: Use default value if CA link error Maurizio Montis
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
Navigate by Thread:
Prev: Re: Use default value if CA link error Maurizio Montis
Next: Re: Use default value if CA link error Maurizio Montis
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
ANJ, 05 Jun 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·