EPICS Home

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: Empty string as SNL macro
From: Hovanes Egiyan via Tech-talk <[email protected]>
To: Benjamin Franksen <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 10 Jul 2019 10:41:51 -0400
Hi Ben,
I am getting "Unbalanced quote" error message when I use backslashes.
We are using seq-2.1.16, it is probably too old. I will go ahead and use a workaround.
I just wanted to see if there is a quick and easy solution.
Thanks,
    Hovanes.


On 7/10/19 9:21 AM, Benjamin Franksen wrote:
Am 09.07.19 um 23:41 schrieb Hovanes Egiyan via Tech-talk:
I would like to send an empty string as the value for an EPICS SNL
program. But when I do it like this

seq testSequencer, "D=TOF,P="

the result is that the SNL code does not recognize that I override the
default value of macro P
(which is not an empty string). Is there a way to pass an empty string
as the macro value to the
sequencer program directly from the "seq" command without manipulating
non-empty strings
in the code itself?
It works if you say

seq testSequencer, "D=TOF,P=\"\""

I think this is a bug in the parser for the macro definition string.
Will try to fix.

Cheers
Ben


References:
Empty string as SNL macro Hovanes Egiyan via Tech-talk
Re: Empty string as SNL macro Benjamin Franksen via Tech-talk

Navigate by Date:
Prev: Re: EPICS Docker Container Ralph Lange via Tech-talk
Next: Re: EPICS Docker Container Lucas Russo 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: Re: Empty string as SNL macro Benjamin Franksen via Tech-talk
Next: Re: Empty string as SNL macro Benjamin Franksen 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