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