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

Subject: How to remove stdout from caput command
From: LE-DANIEL Erwann via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 7 Feb 2024 15:30:42 +0000

Hello,

 

I use python code to write variable values. Running the code, I observe all stdout, but is it possible to disable them ?

 

Code Example :

 

---------------------------------------------------------------------------------------------------------------------

if (gap > 0 and sleep > 0) :

    for i in range (int(step)):

        os.system("caput CODES/TL1_MANIP1/ER_DCH_PosRqst__0 " + str(a) + "wait=False")

        a = a + c

        time.sleep(sleep)

---------------------------------------------------------------------------------------------------------------------

 

The code returns :

 

---------------------------------------------------------------------------------------------------------------------

Old_value …….

New_value ……

Etc…

---------------------------------------------------------------------------------------------------------------------

 

It is that “Old_value” and “New_value” that I want disabled.

 

Many Thanks.

 

 

 

Erwann LE DANIEL
Trainlab Engineer (TLE)

Alstom
Avenue du Commandant Lysiack – 17440 Aytr‚ – France
Mobile: 762086692
Email: erwann.le-daniel at alstomgroup.com
www.alstom.com

 

 

 



CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.

Replies:
Re: How to remove stdout from caput command Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Seeking EPICS Database (.db) File Parser/Generator Ralph Lange via Tech-talk
Next: Re: How to remove stdout from caput command Mark Rivers 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  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: Seeking EPICS Database (.db) File Parser/Generator Ralph Lange via Tech-talk
Next: Re: How to remove stdout from caput command Mark Rivers 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  2020  2021  2022  2023  <2024