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 2023 2024 | 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 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Use default value if CA link error |
From: | Luca Cavalli <[email protected]> |
To: | "[email protected]" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Mon, 5 Jun 2017 10:41:15 +0000 |
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 <[email protected]> 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: [email protected] 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 [email protected] if you need assistance >>