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: Which record is the best to use? |
From: | "Mooney, Tim M." <[email protected]> |
To: | "Ivashkevych, Oksana" <[email protected]>, Tech-talk <[email protected]> |
Date: | Wed, 11 Apr 2018 14:40:52 +0000 |
One way to implement a loop is which a calcout record. The CALC _expression_ determines whether or not to loop, and the OOPT field specifies the condition in which the output link is executed. The output link should a CA link, otherwise EPICS will break what looks to it like an infinite loop.
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov) Advanced Photon Source, Argonne National Lab From: [email protected] <[email protected]> on behalf of Ivashkevych, Oksana <[email protected]>
Sent: Wednesday, April 11, 2018 8:21:46 AM To: Tech-talk Subject: Which record is the best to use? Hello, I would like to automate phasing of servomotors in Delta Tau. 1. Send phasing command via asyn, wait 2. If Phasing successful(bit x is set), ->DONE 3. If Phasing error(bit y is set), do 1 again.
I would like to do it in the database, and not via sequencer, because it will give me a luxury of using a substitution file and repeating the same for 9 motors and looks much easier. It would be interesting to see how Delta Tau will handle several simultaneous phasing requests.
Thank you for your advice.
Oksana |