Experimental Physics and Industrial Control System
|
Hi Marcus,
You were right - I wasn't paying enough attention to the exact
path. I guess I was editing the default files, not those in use.
All seems to be working fine now.
Thanks very much to you and Kay,
Phil
Hello Phil,
I would recommend the following:
Be sure to put the files in the
correct
path (a default configuration is created if not already
present). It should
be <CSS-InstallDir>/configuration/diirt/ (look at Edit
-> Preferences
-> CSS Core -> Diirt preferences)
<CSS-InstallDir>/configuration/diirt/datasources/datasources.xml:
<?xml version='1.0'
encoding='UTF-8'?>
<dataSources version="1">
<compositeDataSource
defaultDataSource="ca" />
</dataSources>
That should indeed prevent you
from
prepending ca:// to all your PVs...
<CSS-InstallDir>/configuration/diirt/datasources/ca/ca.xml:
<?xml version='1.0'
encoding='UTF-8'?>
<ca version="1">
<jcaContext
pureJava="true" addr_list="" auto_addr_list="true"
connection_timeout="30.0"
beacon_period="15.0" repeater_port="5065"
server_port="5064"
max_array_bytes="16384" />
</ca>
Replace the parameter values with
the
values you used in your working/old CSS installation (look under
Preferences
-> CSS Core -> EPICS).
Marcus
Von:
Phil Atkin
<[email protected]>
An:
[email protected]
Kopie:
[email protected]
Datum:
06.04.2016 16:40
Betreff:
Re: CSS version
4.2: can't access EPICS
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
--
Pixel
Analytics is a limited company registered in England.
Company number: 7747526; Registered office: 93A New Road,
Haslingfield, Cambridge CB23 1LP
|
- References:
- CSS version 4.2: can't access EPICS Phil Atkin
- Re: CSS version 4.2: can't access EPICS marcus . michalsky
- Re: 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:
Training on asyn and areaDetector at the EPICS Collaboration Meeting Mark Rivers
- 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: CSS version 4.2: can't access EPICS marcus . michalsky
- Next:
Interactive sessions at the EPICS meeting Timo Korhonen
- 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
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|