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: Multiple sequencer instances undesirably sharing information |
From: | "Marco A. Barra Montevechi Filho via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu>, "Jemian, Pete R." <jemian at anl.gov> |
Cc: | SWC <swc at lnls.br>, Talk EPICS Tech <tech-talk at aps.anl.gov> |
Date: | Wed, 8 Feb 2023 22:15:49 +0000 |
Worked like a charm 🙂
IOC started behaving like i want it to. Thanks! Out of curiosity: is this "option +r;" thing something very obvious from the c language that im too newbie to understand or is it some particularity of the sequencer compiler? If its a particularity, i searched for it briefly in the documentation and didnt find it. Where should i have looked before? Best regards, Marco From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: 08 February 2023 19:05 To: Marco A. Barra Montevechi Filho <marco.filho at lnls.br>; Jemian, Pete R. <jemian at anl.gov> Cc: SWC <swc at lnls.br>; Talk EPICS Tech <tech-talk at aps.anl.gov> Subject: RE: Multiple sequencer instances undesirably sharing information Hi Marco,
I put the +r flag in the SNL program itself like this:
/* This program must be compiled with the recursive option so that multiple copies * can run at once */ option +r;
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Marco A. Barra Montevechi Filho via Tech-talk
Yes, but im wondering if im using it right. From: Jemian, Pete R. <jemian at anl.gov>
Are you using the `+r` option?
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
on behalf of Marco A. Barra Montevechi Filho via Tech-talk <tech-talk at aps.anl.gov>
Hello all. We created a sequencer state machine with EPICS_BASE 7.0.7, synApps6.2, Sequencer2-2-9. seq SwitchesStates,"user=marco, BL=SOL:, HUTCH=S:, M=UltSoft:, N=2, BL2=SOL:, Setm=m2" (...) seq SwitchesStates,"user=marco, BL=SOL:, HUTCH=S:, M=UltSoft:, N=9, BL2=SOL:, Setm=m9" assign m to "{BL}{HUTCH}{M}Cmdm{N}"; //PV that has <MOTOR>.VAL in its OUT monitor m; assign m_rbv to "{BL}{HUTCH}{M}m{N}_RBV"; //Pv that has <MOTOR>.RBV in its INP monitor m_rbv;
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. |