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 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
<== Date ==> <== Thread ==>

Subject: Re: Trend graph partly not shown in Data Browser with Archiver Appliance
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Shuei YAMADA <shuei.yamada@gmail.com>, "Shroff, Kunal" <shroffk@bnl.gov>, "Berryman, Eric" <berryman@frib.msu.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 23 Aug 2017 13:00:56 +0000
Hi:

I remember Kunal reporting a similar problem, also related to synchronization.

You added synch. in the ArchiveFetchJob, but that is the generic part which interfaces to all types of archive readers, and those readers are expected to support multithreading.

Kunal added a lock to ApplianceValueIterator, see https://github.com/ControlSystemStudio/cs-studio/commit/d902628f7272ca9b3d392a4d8636533799d5738d
Check that your sources include this lock.
If so, maybe you need to add/modify the locking in the ApplianceOptimizedValueIterator similar to what Kunal did in the ApplianceValueIterator.

Thanks,
Kay

________________________________________
From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Shuei YAMADA <shuei.yamada@gmail.com>
Sent: Wednesday, August 23, 2017 3:53 AM
To: tech-talk@aps.anl.gov
Subject: Trend graph partly not shown in Data Browser with Archiver Appliance

Dear All,

I have a problem with Data Browser with Archiver Appliance that trend
graph is partly not shown.

It happens if I plot 2 or more trends with large number (e.g. 20000 or
more) of samples at the same time. See attached screenshot for what I
want and what I got. The missing part will appear if I toggle from RAW
to OPTIMIZED and again back to RAW (or vice versa). The missing part
may change when I restart CS-Studio.

I'm using:
- CS-Studio 4.4.1 (as of 2017 Apr. 24)
- Archiver Appliance v0.0.1_SNAPSHOT_20-Sept-2016

When I made a quick and dirty workaround such that synchronize inside
for-loop in ArchiveFetchJob::run(). All the data will be shown as I
want, but Data Brower fails to cancellation of data retrieval.

Any help would be appreciated and thanks in advance.

Best regards,
Shuei YAMADA
--
                 ----------------------------------------------------
                 Shuei Yamada,
                 High Energy Accelerator Research Organization (KEK)
                 mailto:shuei@post.kek.jp
                 ----------------------------------------------------

Replies:
Re: Trend graph partly not shown in Data Browser with Archiver Appliance Shuei YAMADA
References:
Trend graph partly not shown in Data Browser with Archiver Appliance Shuei YAMADA

Navigate by Date:
Prev: Trend graph partly not shown in Data Browser with Archiver Appliance Shuei YAMADA
Next: SNC Sequencer 2.2 not working when reading remote IOC variables? keith.thorne
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
Navigate by Thread:
Prev: Trend graph partly not shown in Data Browser with Archiver Appliance Shuei YAMADA
Next: Re: Trend graph partly not shown in Data Browser with Archiver Appliance Shuei YAMADA
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
ANJ, 23 Aug 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·