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  2019  <20202021  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  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Filtering messages print on the IOC shell console
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Rivers, Mark L." <rivers at cars.uchicago.edu>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 10 Apr 2020 20:29:59 +0000
Hi Mark,

On Apr 10, 2020, at 2:27 PM, Mark Rivers <rivers at cars.uchicago.edu> wrote:

Sorry I missed what you were suggesting at the end of your message.

No problem, thank you for pointing out that the IOC’s carriage-return and line-feed can fully explain my “missing” characters. I could have spent a good few hours trying to find the cause of them!

I will now find a suitable place to set the main thread’s okToBlock flag, and this fix will go into the next releases from the 3.15 and 7.0 branches of Base.

Users of previous Base releases can fix the problem (which I believe should only ever occur on IOCs running on VxWorks or RTEMS with GeSys, never on any of the targets such as Linux or Windows that use the iocsh) by adding the call like Mark did, just after the IOC’s munch file or core binary has been loaded:

I added the following at the top of my startup script:

epicsThreadSetOkToBlock(1)
value = 0 = 0x0

Indeed that fixes the problem!

Thanks to everyone who contributed ideas!

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


Replies:
Re: Filtering messages print on the IOC shell console J. Lewis Muir via Tech-talk
References:
Filtering messages print on the IOC shell console Paduan Donadio, Marcio via Tech-talk
Re: Filtering messages print on the IOC shell console Johnson, Andrew N. via Tech-talk
Re: Filtering messages print on the IOC shell console Konrad, Martin via Tech-talk
Re: Filtering messages print on the IOC shell console Konrad, Martin via Tech-talk
RE: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk
Re: Filtering messages print on the IOC shell console J. Lewis Muir via Tech-talk
Re: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk
Re: Filtering messages print on the IOC shell console Johnson, Andrew N. via Tech-talk
RE: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk
RE: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk
Re: Filtering messages print on the IOC shell console Johnson, Andrew N. via Tech-talk
Re: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk
Re: Filtering messages print on the IOC shell console Johnson, Andrew N. via Tech-talk
Re: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Home motorSim Device Peterson, Kevin M. via Tech-talk
Next: Re: Home motorSim Device William Cork 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Filtering messages print on the IOC shell console Mark Rivers via Tech-talk
Next: Re: Filtering messages print on the IOC shell console J. Lewis Muir 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  2019  <20202021  2022  2023  2024 
ANJ, 13 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·