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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to disable sequencer output at startup?
From: Benjamin Franksen <[email protected]>
To: Touchard Dominique <[email protected]>, "Zelazny, Michael Stanley" <[email protected]>, EPICS mailing list <[email protected]>
Date: Tue, 24 May 2016 14:46:31 +0200
Am 24.05.2016 um 11:13 schrieb Touchard Dominique:
> errlogSetSevToLog(1) doesn't switch off sequencer output.

It does switch off info messages from the sequencer. However, you are
probably using a soft IOC with an iocsh and the procedure
errlogSetSevToLog is not registered in the iocsh by default, resulting
in something like

errlogSetSevToLog(1)
stcmd.host line 7: Command errlogSetSevToLog not found.

If this is the case, then you need to write the appropriate iocsh
registration boilerplate (the C code plus the registrar entry in the
dbd) for this to work. Another, perhaps simpler, option is to add the line

  errlogSetSevToLog(errlogMinor);

to the start of function seq in src/seq/seq_main.c.

> It seems that the seq command use the "seqcar" command which doesn't matter of output or log settings.

It does not, at least not in any of the currently maintained versions.

BTW, are there plans to somehow auto-generate the iocsh registration
boilerplate in EPICS? Or is this perhaps already implemented in 3.15 or
3.16?

Cheers
Ben

Attachment: signature.asc
Description: OpenPGP digital signature


References:
How to disable sequencer output at startup? Touchard Dominique
Re: How to disable sequencer output at startup? Benjamin Franksen
RE: How to disable sequencer output at startup? Zelazny, Michael Stanley
RE:How to disable sequencer output at startup? Touchard Dominique

Navigate by Date:
Prev: Re: ABS() in calc record Johnson, Andrew N.
Next: Problems about Streamdevice when sending hex command to motor device 李姣赛
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE:How to disable sequencer output at startup? Touchard Dominique
Next: error when make base3.15.3 梁雅翔
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·