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 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 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Linking PVs to EGU field |
From: | "Liu, Wanming via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 15 Mar 2022 14:34:26 +0000 |
Hi Marco, I think you can try to set up a stringout record with OUT pointing to the EGU field of the pressure reading and DOL pointing to the pressureUnit.
Let the pressure reading FLNK be the pressureUnit, and FLNK of pressureUnit be the strinout record. If it goes well, reading the pressure will trigger the reading of pressureUnit and then trigger the update EGU of pressureReading. I did not tried anything like this before, so I’m not sure if updating the EGU field of the pressure reading will or will not trigger the process of the pressure reading and take you into an infinite loop. Good luck. Wanming Liu L120B, Bldg 360 HEP,ANL From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Marco A. Barra Montevechi Filho via Tech-talk Hello all. field(DESC, "Vacuum measurement unit") field(PINI, "YES") field(SCAN, "Passive") field(DTYP, "stream") field(NOBT, "2") field(ZRVL, "0") field(ZRST, "mbar") field(ONVL, "1") field(ONST, "Pa") field(THVL, "2") field(THST, "Torr") field(INP, "@mvc3.proto PressureUnit $(PORT)") }
field(DESC, "Get device pressure") field(EGU, "$(BEAMLINE):$(DEVICE_NAME):PressureUnit") field(PINI, "YES") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@mvc3.proto RPV$(CHAN_NUM) $(PORT)") } Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes
de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente. Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before
copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately. |