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  <20182019  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  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Redirect of device support messages in EPICS Base 3.14.12.7
From: Carsten Winkler <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 21 Feb 2018 11:46:52 +0100
Dear all,

I'm trying to support redirect stdout to file for my device support
driver. I can use redirection (command > file name) of output in my IOC
Shell for built-in functions as "dbl" or "dbnr" only. When I try to use
it for my device support functions, output always appears on screen
only. I investigated the source and found normal usage of "printf" in
dbTest.c How can I implement redirect stdout to file for my device
support driver?

Best regards
Carsten


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de

Replies:
Re: Redirect of device support messages in EPICS Base 3.14.12.7 Andreas Balzer

Navigate by Date:
Prev: Re: NSLS-II Debian Repository in 2018 Carlos Pascual
Next: Re: Redirect of device support messages in EPICS Base 3.14.12.7 Andreas Balzer
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Dexela .dll missing when compiling WITH_PVA=YES Gofron, Kazimierz
Next: Re: Redirect of device support messages in EPICS Base 3.14.12.7 Andreas Balzer
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 21 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·