From: Carlos P. <cpa...@ce...> - 2015-11-23 08:50:57
|
Hi Lukasz, As I said, I am personally not an expert on archiving. Sergi Rubio (in CC) is the author of the archiving support of TaurusTrend, so he may be able to give better help. With my limited knowledge, all I can suggest is: 1- make sure you use Soleil's archiving system (according to srubio, it doesn't work with other archivers) 2- make sure that your attribute (let's say "a/b/c/d") is configured in the archiver and also that its values are really being archived (*) 3- launch taurustrend a/b/c/d 4- use the context menu to enable archiving (righ-click->use archiver) 5- Now go to plot configuration (Right-click->plot configuration) and disable the "Fixed-range scale" checkbox. Then enter a start value previous to the time when you launched the trend (step 3). Apply and Close the configuration dialog. You should be seeing archived values now. (*) Note: this is crucial, but it is where I cannot help you much since I've never done this myself. I guess you can do a mysql query against the DB, or use Mambo... On Fri 20 November 2015 12:06:42 Lukasz Zytniak wrote: > Hi Carlos, > > Please find in attachment printscreen from Astor, as I know we are > using *external* archiver infrastructure. > Still, I have problem with taurustrend --use-archiving. > > Could you please help me? > > Best regards, > Lukasz > > W dniu 2015-11-13 o 16:06, Carlos Pascual pisze: > > (Note: the original message was sent to both devel and users list. I > > reply only to the the users list to avoid duplication of messages) > > > > Hi, > > > > Since the feature is working without problems in Alba and you do not > > give details of how you are trying it, I can only guess a very basic > > explanation... please excuse me if my answer is too obvious: > > > > In order to use the archiving feature you need, first of all, to > > have the values archived. That is, an *external* archiver > > infrastructure is needed, and the attributes for which you wish to > > access the archived values need to be configured for archiving. > > > > Sergi rubio may be able to give further hints... > > > > Cheers, > > Carlos > > > > On Fri 13 November 2015 15:22:47 Lukasz Zytniak wrote: > >> Hello All, > >> > >> I have a question about taurustrend --use-archiving, as you can > >> find > >> in attachment, it doesn't work. > >> I tested it on new TangoBox9 and in control room at Solaris (we are > >> using taurus-3.3.0). > >> I didn't find any ticket > >> (http://sourceforge.net/p/tauruslib/tickets/), so maybe I use it in > >> wrong way or I don't know how to configure it? I found in > >> documentation: > >> http://www.taurus-scada.org/en/stable/users/ui/trend.html#accessing > >> -ar chived-values > >> > >> I will be very gratefull for your help. > >> > >> Kind regards, > >> Lukasz -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carrer de la Llum 2-26 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |