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: Empty string as SNL macro
From: Benjamin Franksen via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 10 Jul 2019 15:21:52 +0200
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

Attachment: signature.asc
Description: OpenPGP digital signature


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

Navigate by Date:
Prev: Re: EPICS Docker Container Florian Feldbauer via Tech-talk
Next: RE: Problems with stream device 2.8.8 Abdalla Ahmad 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: Empty string as SNL macro Hovanes Egiyan via Tech-talk
Next: Re: Empty string as SNL macro Hovanes Egiyan 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, 10 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·