EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20192020  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  <20192020  2021  2022  2023  2024 
<== 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.

 

gfrfg

 

Alexis GAGET

CEA Saclay - DRF/Irfu/DIS/LDISC

[email protected]

 


References:
[SNL] possibility to cut the argument string. GAGET Alexis via Tech-talk

Navigate by Date:
Prev: [SNL] possibility to cut the argument string. GAGET Alexis via Tech-talk
Next: Re: [SNL] possibility to cut the argument string. Johnson, Andrew N. via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: [SNL] possibility to cut the argument string. GAGET Alexis via Tech-talk
Next: Re: [SNL] possibility to cut the argument string. Johnson, Andrew N. via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 15 Apr 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·