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: Trend graph partly not shown in Data Browser with Archiver Appliance
From: "Kasemir, Kay" <[email protected]>
To: Shuei YAMADA <[email protected]>, "Shroff, Kunal" <[email protected]>, "Berryman, Eric" <[email protected]>
Cc: "[email protected]" <[email protected]>
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: [email protected] <[email protected]> on behalf of Shuei YAMADA <[email protected]>
Sent: Wednesday, August 23, 2017 3:53 AM
To: [email protected]
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:[email protected]
                 ----------------------------------------------------

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