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  2016  2017  2018  2019  2020  <20212022  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  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Phoebus: archive-engine export and enable issues
From: Kuldeep Joshi via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 23 Mar 2021 07:52:00 +0000
Hello,
I am having two groups in the archive engine configuration, it is being read and configured properly. I have added a bo record type for enabling/disabling logging for one group. I have used replace_engine to change the default engine configuration

I am using phoebus 4.6.6-SNAPSHOT

1) One group is not getting disabled. The web server is reporting Enablement as Passive
I am using the <enable/> tag in the channel to indicate the PV on which to enable logging.
    <channel>
      <name>bo:Enable</name>
      <period>1.0</period><monitor/>
      <enable/>
    </channel>
what is the correct format.

2) On using the xml export command
archive-engine.sh -engine Demo -export Demo1.xml
I am getting errors (improper data) in the xml file and the demo group values are being repeated in the second group. The archieve_engine.sh log output is referring to proper channels

Erreneous XML File

<?xml version="1.0" encoding="UTF-8"?>
<engineconfig>
  <group>
    <name>Demo</name>
    <channel>
      <name>freddy</name>
      <monitor/>
      <period>0.1</period>
    </channel>
    <channel>
      <name>sim://noiseWaveform(0,10,100,10)</name>
      <monitor/>
      <period>0.1</period>
    </channel>
    <channel>
      <name>sim://sine(0, 10, 50, 0.1)</name>
      <monitor/>
      <period>0.1</period>
      <delta>1.0</delta>
    </channel>
  </group>
  <group>
    <name>Amp</name>
    <channel>
      <name>freddy</name>
      <monitor/>
      <period>0.1</period>
    </channel>
    <channel>
      <name>sim://noiseWaveform(0,10,100,10)</name>
      <monitor/>
      <period>0.1</period>
    </channel>
    <channel>
      <name>sim://sine(0, 10, 50, 0.1)</name>
      <monitor/>
      <period>0.1</period>
      <delta>1.0</delta>
    </channel>
  </group>
</engineconfig>

Thank you in advance

Kuldeep


Navigate by Date:
Prev: Data Logging Udit Shah via Tech-talk
Next: MRF kernel module, failed to map BARS GAGET Alexis 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Data Logging Udit Shah via Tech-talk
Next: MRF kernel module, failed to map BARS GAGET Alexis 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  <20212022  2023  2024 
ANJ, 23 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·