If I want to write a new data source for BOY today, can I use org.csstudio.utility.pv in the hope that pvManager will be able to use that as a data source once BOY uses pvManager as a data source? Is DAL still in there?
James
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Carcassi, Gabriele
Sent: 20 October 2011 21:01
To: Kasemir, Kay; [email protected]; [email protected]
Subject: RE: PVManager ReadOnly Check
If you like org.csstudio.utility.pv, then, by all means, use
org.csstudio.utility.pv. Whatever works for you and makes you happy. :-)
Just to clarify: -->as of right now<-- the DataSource class is designed
so that data sources are easy to implement, so that it fits with the
rest of pvManager, *not* so that DataSources are *easy to use*.
Thanks,
Gabriele
-----Original Message-----
From: Kasemir, Kay [mailto:[email protected]]
Sent: Thursday, October 20, 2011 3:22 PM
To: Carcassi, Gabriele; [email protected]; [email protected]
Subject: RE: PVManager ReadOnly Check
Hi:
> Something like PV.isWriteAllowed() from org . csstudio . utility . pv
> would be nice.
I would go even further:
Something like o.c.utility.pv would be nice, period.
The PV manager is great for applications that need to read the average
over the last 10 seconds from N channels, updating at 1 Hz on thread X,
expecting a list of Double, while filtering on only data where ... is
... .
That's really great.
But of course you can't "write" to those PVs because how would you
change the average over the last 10 seconds? Go back 8 seconds and
adjust that original value?
The good news is that the PVManager internally uses a 'DataSource' API
that is similar to utility.pv: It's the raw channel; pluggable
implementations for EPICS V3, simulated channels, then EPICS V4, or
whatever you want to add in the future.
If we allow access to both
a) the DataSource API for those who need/want/prefer a raw channel API
to read and write
b) a PVManager API that can average, queue, schedule update rates,
handle thread access .. I think we'd have it all.
Thanks,
Kay
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
- References:
- PVManager ReadOnly Check marcus . michalsky
- RE: PVManager ReadOnly Check Carcassi, Gabriele
- RE: PVManager ReadOnly Check Kasemir, Kay
- RE: PVManager ReadOnly Check Carcassi, Gabriele
- Navigate by Date:
- Prev:
FW: windows-x64 problem Mark Rivers
- Next:
seq lib load error (vxworks) Laznovsky Michael
- 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: PVManager ReadOnly Check Carcassi, Gabriele
- Next:
RE: PVManager ReadOnly Check Dalesio, Leo
- 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
2018
2019
2020
2021
2022
2023
2024
|