Hi:
As for building, the older Eclipse-based setup can be very difficult.
You might want to try the newer source base, https://github.com/ControlSystemStudio/phoebus
As for running the archive engine, your log seems inconsistent because you're trying to use the config "demo":
> ./ArchiveEngine -pluginCustomization plugin_customization.ini -engine demo
.. but get an error about "Demo":
> Unknown engine 'Demo'
> at org.csstudio.archive.engine.model.EngineModel.readConfig(EngineModel.java:420)
They are case-sensitive, so I assume it's a copy/paste error?
In any case, you need to first define a configuration before you can use it.
So you first need to create a demo (or Demo) config, import it into the RDB, and then you can use it.
Somewhat like this:
# Create config
cat >demo.xml <<END
<?xml version="1.0" encoding="UTF-8"?>
<engineconfig>
<group>
<name>BPLS</name>
<channel><name>SomeExamplePV</name><period>00:00:01</period><monitor /></channel>
</group>
</engineconfig>
END
# Import
archive-engine.sh -settings /path/to/settings.ini -engine Demo -import /path/to/demo.xml
# Run sample engine
archive-engine.sh -settings /path/to/settings.ini -engine Demo
This is for the current tool where the archive engine and archive config tool are one.
In the older Eclipse-based tools, the ArchiveEngine and the ArchiveConfigTool were separate, but the general idea is the same, as is the XML file format and the RDB setup.
-Kay
- Replies:
- Re: [EXTERNAL] Alarm Server and archiveEngine Hasan SANSAR via Tech-talk
- References:
- Alarm Server and archiveEngine Hasan SANSAR via Tech-talk
- Navigate by Date:
- Prev:
Re: Windows: Problem building EPICS base, using MSYS2 & mingw Ralph Lange via Tech-talk
- Next:
Re: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming via Tech-talk
- 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:
Alarm Server and archiveEngine Hasan SANSAR via Tech-talk
- Next:
Re: [EXTERNAL] Alarm Server and archiveEngine Hasan SANSAR via Tech-talk
- 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
|