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

Subject: RE: EpicsQT and Archiver Appliance
From: "Abdalla Ahmad" <[email protected]>
To: Michael Davidsaver <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 26 Apr 2017 10:50:42 +0000
Dear Michael

Can you please elaborate more on installing the proxy you wrote? I'm having difficulties running it on Scientific Linux 7 machine.

First I have the requirements (numpy, twisted and protocol-buffer), then I did:

python setup.py build
sudo python setup.py install

After that I ran the command as in the README:

twistd -n a2aproxy -P 8888 AA-SERVER-URL:17665

And then I get "Wrong number of arguments". 

Running "twistd a2aproxy" gives an error like "No module named EPICSEvent_pb2". Also when reordering the arguments it does not recognize the "-n" option.

Best Regards,

Abdalla Ahmad
Control Engineer
SESAME
Allan, Jordan.
Tel: (+962-5) 3511348 , ext. 265
Fax: (+962-5) 3511423
Mob: (+962-7)88183296
www.sesame.org.jo


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Davidsaver
Sent: Friday, July 15, 2016 6:52 PM
To: [email protected]
Subject: Re: EpicsQT and Archiver Appliance

> Does  Archiver Appliance mimic the XML-RPC for or can it with some 
> additional XML Doc Type added to it?

AA itself does not.  However, I wrote a sort of proxy to do this.  This lets xml-rpc clients transparently access AA.

https://github.com/epicsdeb/carchivetools/blob/master/README-a2aproxy.md

> If not, then I would have to modify EpicsQT's QEArchiveInterface or 
> QEArchiveManager classes to read the AA (JSON?) URL.

AA can provide data either as json or it's native binary format (google protocol buffers).  JSON should be quite easy to prototype.  I went with proto bufs for speed.

https://github.com/epicsdeb/carchivetools/blob/master/carchive/backend/appl.py#L225


On 07/14/2016 06:47 AM, [email protected] wrote:
> Hello,
> 
>  
> 
> This is a question about how to get the EpicsQt's striptool archive to 
> read from Archiver Appliance instead of Channel Archiver. As I 
> understand it Channel Archiver used the XML-RPC protocol to retrieve 
> data via the server for clients but Channel Archiver is now deprecated.
> Does  Archiver Appliance mimic the XML-RPC for or can it with some 
> additional XML Doc Type added to it?
> 
>  
> 
> If not, then I would have to modify EpicsQT's QEArchiveInterface or 
> QEArchiveManager classes to read the AA (JSON?) URL. I have a version 
> of AA running taking data and a version of EpicsQt striptool. I'm just 
> wondering the best way to connect the two and if anyone has tried it.
> 
>  
> 
> Regards,
> 
>  
> 
> Rory
> 


Replies:
Re: EpicsQT and Archiver Appliance Michael Davidsaver

Navigate by Date:
Prev: Control System Studio: Final value can't be of type PVANTNDArray Heinz P. Junkes
Next: Re: EpicsQT and Archiver Appliance Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Control System Studio: Final value can't be of type PVANTNDArray Heinz Junkes
Next: Re: EpicsQT and Archiver Appliance Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024