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: [SNL] possibility to cut the argument string. |
From: | "Mooney, Tim M. via Tech-talk" <[email protected]> |
To: | "[email protected]" <[email protected]>, GAGET Alexis <[email protected]> |
Date: | Mon, 15 Apr 2019 15:53:19 +0000 |
I would try the strategy Mark Rivers used in this code:
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 GAGET Alexis via Tech-talk <[email protected]>
Sent: Monday, April 15, 2019 10:21 AM To: [email protected] Subject: [SNL] possibility to cut the argument string. Dear All, I have a SNL sequence with a lot of macro, i find the call in the iocshell really not readable i.e : seq myExample “macro1=MyExp:MyDevice-01:Unit, macro2=MyExp:MyDevice-02:Unit, macro3=MyExp:MyDevice-03:Unit, macro4=MyExp:MyDevice-04:Unit….To infinity and beyond”
Is there any way to maybe cut the string ? i.e : seq myExample “macro1=MyExp:MyDevice-01:Unit”+ “macro1=MyExp:MyDevice-02:Unit”+ “macro2=MyExp:MyDevice-03:Unit”+ “ macro3=MyExp:MyDevice-04:Unit”+ “….To infinity and beyond” (of course it doesn’t work, I’ve tried different possibility but I haven’t found… maybe it’s obvious
I want my sequence as much generic as possible, so substitutions macros offers a good possibility to call differents PVs.
If it’s not possible yet, is it possible to maybe create an issue somewhere to ask the feature ?
Thanks for your help.
Alexis GAGET CEA Saclay - DRF/Irfu/DIS/LDISC
|