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: Getting data from a shell script into an ioc
From: "Konrad, Martin via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>, Bo Jakobsen <[email protected]>
Date: Mon, 14 Jan 2019 14:19:31 +0000
Hi Bo,
> I was considering to make a simple IOC to monitor our "queues" on a 
> pc cluster. The status of the queue can be returned from a simple 
> shell script.
Sounds like there is a good chance more scripts will be added in the
future. Have you considered using Michael's Python Device Support module
[1]? Maybe you can convert your shell scripts to Python and run them
inside your IOC?

As Kay mentioned you probably need to run your scripts in a separate
thread. Look at the weatherApp directory for an example of how to do
that with PyDevSup.

-Martin

[1] https://github.com/mdavidsaver/pyDevSup

-- 
Martin Konrad
High Performance Controls Team Leader
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]

Navigate by Date:
Prev: Re: Getting data from a shell script into an ioc Kasemir, Kay via Tech-talk
Next: Re: Getting data from a shell script into an ioc Pearson, Matthew R. 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: Re: Getting data from a shell script into an ioc Pierrick M Hanlet via Tech-talk
Next: Suggestions on tablet solution Xing Xing 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, 23 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·