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  <20082009  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: asyn / stream for http:??
From: "J. Lewis Muir" <[email protected]>
To: [email protected]
Date: Fri, 27 Jun 2008 11:25:44 -0500
On 6/27/08 9:55 AM, Burkhard Kolb wrote:
> Hi,
> I have a set of network controlled power switches from Gude
> (www.gude.info).
> They support status readback and on/off and power cycle functions
> through a web interface. Unfortunately that is the only interface.
> The vendor also supplies a perl script which can parse the response from
> the web server. This looks almost like a protocol in streamDevice...
> Any advice on how to get this into EPICS records?
> Cheers,
> Burkhard

Hi, Burkhard.

One approach would be to write a screen scraping SNL program.  I wrote a
driver for the DLI PC-8000 Ethernet Power Controller using this method.
 It sends HTTP requests to the device's embedded web server and extracts
the information of interest from the responses.  If you want to see how
it works, or copy and modify it, you can download it at

  http://www.imca.aps.anl.gov/~jlmuir/software/dli-epcr.html

Lewis

-- 
J. Lewis Muir
Software Engineer
IMCA-CAT/CARS

References:
asyn / stream for http:?? Burkhard Kolb

Navigate by Date:
Prev: asyn / stream for http:?? Burkhard Kolb
Next: RE: asyn / stream for http:?? Schuh, Stephen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: asyn / stream for http:?? Burkhard Kolb
Next: RE: asyn / stream for http:?? Schuh, Stephen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·