ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
111 stars 96 forks source link

Phoebus: archive-engine export and enable issues #2681

Closed joshikk closed 3 years ago

joshikk commented 3 years ago

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 tag in the channel to indicate the PV on which to enable logging. `

bo:Enable
  <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 archive_engine.sh log output is referring to proper channels

Erreneous XML File

`

Demo freddy 0.1 sim://noiseWaveform(0,10,100,10) 0.1 sim://sine(0, 10, 50, 0.1) 0.1 1.0 Amp freddy 0.1 sim://noiseWaveform(0,10,100,10) 0.1 sim://sine(0, 10, 50, 0.1) 0.1 1.0

`

Thank you in advance

PS: This is a repost of tech-talk

joshikk commented 3 years ago

Sorry! Wrong group