EPICS Controls 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  <20162017  2018  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS version 4.2: can't access EPICS
From: Phil Atkin <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Wed, 6 Apr 2016 15:35:24 +0100
Hi Marcus,

Thanks - that certainly allows me to get working again, having been stuck for about a day. 
Prepending "ca://" to my PV name works, although it looks as though uncommenting the following line from the default datasources.xml ought to have the same effect:
    <compositeDataSource defaultDataSource="ca" />
- as far as I can tell, it has no effect (even after a restart).

I haven't yet been able to work out whether the settings I've applied in ca.xml have any effect. 

Phil

On 06/04/2016 14:42, [email protected] wrote:
Hello,

AFAIK CS-Studio 4.2.0 uses Diirt 3.0, changing the way how PV Access is configured.

In CS-Studio 4.1 and before you had a configuration based on Eclipse Preferences (with plugin_customization.ini).  
The new Version (Diirt) uses an XML File for Configuration. The Preferences in Eclipse now only define where to find these XML file(s).

See https://github.com/diirt/diirt/wiki/Diirt-Configuration

Your problem now is that in your old version you had defined "CA" as your default datasource, meaning all your PV Definitions got a "ca://" prefix.
The new Version does not find a configuration xml and thus there is no "default data source". So no "ca://" is added to you PV strings automatically anymore.

You can try adding "ca://" in front of one of your PV Strings. If this works you can create a diirt XML config defining CA as your default data source.


Marcus





Von:        Phil Atkin <[email protected]>
An:        [email protected]
Datum:        05.04.2016 18:24
Betreff:        CSS version 4.2: can't access EPICS
Gesendet von:        [email protected]




I updated my CS-Studio to version 4.2.0 (I downloaded the executable).
Now I find that I can't access any EPICS PVs.  My screens show the PVs as 'disconnected', yet I can access them using caget.
Probe says that "Channel <PV name> uses default data source but one was never set"
The css_book at
https://ics-web.sns.ornl.gov/kasemir/CSS/Training/css_book.pdf says ($27.3) to check that I have a plugin called org.csstudio.utility.pv.epics.  I don't, but unfortunately it doesn't tell me what I can do about that... (I _do_ have org.csstudio.platform.libs.epics).
Under Edit...Preferences...CSS Core I was hoping to find an EPICS section so that I could check my settings corresponding to EPICS_CA_ADDR_LIST etc.  Unfortunately, the entire EPICS section is missing.

Any ideas?

Phil

--
Pixel Analytics is a limited company registered in England. Company number: 7747526; Registered office: 93A New Road, Haslingfield, Cambridge CB23 1LP

--
Pixel Analytics is a limited company registered in England. Company number: 7747526; Registered office: 93A New Road, Haslingfield, Cambridge CB23 1LP

Replies:
Re: CSS version 4.2: can't access EPICS marcus . michalsky
References:
CSS version 4.2: can't access EPICS Phil Atkin
Re: CSS version 4.2: can't access EPICS marcus . michalsky

Navigate by Date:
Prev: Re: CSS version 4.2: can't access EPICS marcus . michalsky
Next: Re: CSS version 4.2: can't access EPICS marcus . michalsky
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS version 4.2: can't access EPICS marcus . michalsky
Next: Re: CSS version 4.2: can't access EPICS marcus . michalsky
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·