Update CSS Archive Engine scripts
Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
#mysql -u report -p"\$report" -D archive -e 'SELECT `smpl_time`, `severity_id`, `status_id`, `str_val` FROM `sample` WHERE `channel_id` = 12'
|
||||
#mysql -u report -p"\$report" -D archive <<< 'show tables'
|
||||
#mysql -u report -p"\$report" -D archive <<< "SELECT `smpl_time`, `severity_id`, `status_id`, `str_val` FROM `sample` WHERE `channel_id` = 13"
|
||||
mysql -u report -p"\$report" -D archive <<< 'SELECT `smpl_time`, `str_val` , `severity_id`, `status_id` FROM sample WHERE channel_id = 12 ORDER by `smpl_time` DESC LIMIT 20'
|
||||
|
||||
#"SELECT `smpl_time`, `severity_id`, `status_id`, `str_val` FROM `sample` WHERE `channel_id` = 13"
|
||||
|
||||
@@ -6,5 +6,5 @@ org.csstudio.archive/url=jdbc:mysql://localhost/archive?rewriteBatchedStatements
|
||||
|
||||
# RDB user and password
|
||||
# Some applications also provide command-line option to override.
|
||||
org.csstudio.archive/user=archive
|
||||
org.csstudio.archive/password=$archive
|
||||
org.csstudio.archive/user=isttok
|
||||
org.csstudio.archive/password=0p3rT0k
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- XML configuration for ISTTOK COntrol
|
||||
2018/01/25 14:28:06.826000000
|
||||
Usage:
|
||||
../../bin/ArchiveConfigTool/ArchiveConfigTool -export -engine ISTTOKcontrol -config t.xml
|
||||
../../bin/ArchiveConfigTool/ArchiveConfigTool -engine ISTTOKcontrol -config isttokcontrol.xml -import -host localhost -port 4812
|
||||
|
||||
../../bin/ArchiveConfigTool/ArchiveConfigTool -engine ISTTOKcontrol -config isttokcontrol.xml -delete_config
|
||||
-->
|
||||
<engineconfig>
|
||||
<group>
|
||||
<name>ISTTOKcontrol</name>
|
||||
<channel><name>ISTTOK:central:VVessel-Pressure</name>
|
||||
<period>00:01:00</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:TMPump1-PressureAdmission</name>
|
||||
<period>00:01:00</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:RPump1-Pressure</name>
|
||||
<period>00:01:00</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:RPump2-Pressure</name>
|
||||
<period>00:01:00</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:PULSE-NUMBER</name>
|
||||
<period>00:10:00</period><monitor/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:LogMessage</name>
|
||||
<period>00:10:00</period><monitor/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:TraceMessage</name>
|
||||
<period>00:10:00</period><monitor/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:temperature:VVessel-Temperature</name>
|
||||
<period>00:02:00</period>
|
||||
<monitor>1.0</monitor>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:central:OPSTATE</name>
|
||||
<period>00:10:00</period><monitor/>
|
||||
<enable/>
|
||||
</channel>
|
||||
|
||||
<!--
|
||||
<channel><name>ISTTOK:temperature:RawTemperature_0</name>
|
||||
<period>00:00:30</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:temperature:Temperature_0</name>
|
||||
<period>00:00:30</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:temperature:Capbank_Voltage</name>
|
||||
<period>00:00:30</period><scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:vacuum:Pressure_Chamber1</name>
|
||||
<period>10.0</period>
|
||||
<monitor>0.002e-6</monitor>
|
||||
<scan/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:vacuum:Pressure_Chamber1calc</name>
|
||||
<period>30.0</period>
|
||||
<monitor>0.002e-6</monitor>
|
||||
<monitor/>
|
||||
</channel>
|
||||
<channel><name>ISTTOK:temperature:Uptime</name><period>00:00:30</period><scan/></channel>
|
||||
<channel><name> ISTTOK:galium:Temperature_0</name>
|
||||
<period>30.0</period><monitor/>
|
||||
</channel>
|
||||
<channel><name> ISTTOK:galium:Temperature_1</name>
|
||||
<period>30.0</period><monitor/>
|
||||
</channel>
|
||||
<channel><name> ISTTOK:galium:Temperature_2</name>
|
||||
<period>30.0</period><monitor/>
|
||||
</channel>
|
||||
<channel><name> ISTTOK:galium:Temperature_3</name>
|
||||
<period>30.0</period><monitor/>
|
||||
</channel>
|
||||
<channel><name> ISTTOK:galium:Temperature_4</name>
|
||||
<period>30.0</period><monitor/>
|
||||
</channel>
|
||||
<channel><name> ISTTOK:galium:Temperature_5</name>
|
||||
<period>30.0</period><monitor/>
|
||||
</channel>
|
||||
|
||||
|
||||
<channel><name>sim://noiseWaveform(0,10,100,10)</name>
|
||||
<period>00:00:00.100</period><scan/>
|
||||
</channel>
|
||||
<channel>
|
||||
<name>sim://sine(0, 10, 50, 0.1)</name>
|
||||
<period>00:00:00.100</period>
|
||||
<scan/>
|
||||
</channel>
|
||||
-->
|
||||
</group>
|
||||
</engineconfig>
|
||||
Reference in New Issue
Block a user