3
$MODULES = array("config", "slowcontrol", "alarms", "graph", "wiki");
6
$EXPORT_FORMATS = array (
17
$READER_DB_TOSKA = array(
19
"title" => _("ZEUS PreSpectrometer"),
20
"reader" => "ZEUSController",
23
"subdrv" => "FreeTDS",
24
"host" => "192.168.19.237",
28
"database" => array("prespektrometer"),
29
"timeout" => 1500000, // us, should be pretty big to receive updated values
30
"ping" => true, // host and port should be specified
31
"control_host" => "192.168.19.237",
32
"control_port" => 12345
36
if (is_array($READER_DB)) $READER_DB = array_merge($READER_DB_TOSKA, $READER_DB);
37
else $READER_DB = $READER_DB_TOSKA;
39
$OPTIONS["prespec"] = array(
40
"optimize_empty_cache" => true,
41
"ignore_invalid_data" => true,
42
// "timestamp_channels" => true,
43
"min_resolution" => 3600,
44
"timestamp_channels" => true
b'\\ No newline at end of file'
7
$READER_DB_DETECTOR = array(
9
"title" => _("Detector"),
10
"reader" => "ZEUSController",
13
"subdrv" => "FreeTDS",
14
"host" => "192.168.110.66",
15
"database" => array ("katrin"),
18
"password" => '$souren$',
22
"control_host" => "192.168.110.66",
23
"control_port" => 12345
24
// "disconnected" => true
27
"title" => _("Air Coils"),
28
"reader" => "ZEUSController",
31
"subdrv" => "FreeTDS",
32
"host" => "192.168.110.121",
35
"password" => '$souren$',
36
"database" => array ("aircoils"),
39
"control_host" => "192.168.110.65",
40
"control_port" => 12345
41
// "disconnected" => true
43
"monitorspec" => array (
44
"title" => _("Monitor Spectrometer"),
45
"reader" => "ZEUSController",
48
"subdrv" => "FreeTDS",
49
"host" => "192.168.110.89",
50
"database" => array ("monitorspec"),
53
"password" => '$souren$',
57
"control_host" => "192.168.110.89",
58
"control_port" => 12345
59
// "disconnected" => true
62
"title" => _("ORCA Process"),
63
"reader" => "IPEReader",
65
"host" => "127.0.0.1",
69
"database" => array("orca_process"),
70
"charset" => "ISO8859-1",
71
"timeout" => 200000, // us
72
// "ping" => true, // host and port should be specified
73
// "disconnected" => true
79
if (is_array($READER_DB)) $READER_DB = array_merge($READER_DB_DETECTOR, $READER_DB);
80
else $READER_DB = $READER_DB_DETECTOR;
82
$OPTIONS["detector"] = array(
83
"lclb_is_varchar" => true,
84
"date_limit" => "2008-08-15 00:00:00", //GMT
85
"optimize_empty_cache" => true,
86
// "graph_interpolate" => false,
87
"maximal_allowed_gap" => 120,
88
"ignore_invalid_data" => true,
89
// "fill_raw_first" => true,
90
"overcome_reader_faults" => true, // Use CACHE if connection to reader is failed
91
"use_cache_timewindow" => true,
92
"timestamp_channels" => true, // Groups is prefixed with two channels with accquisition timestamps (may give a number)
93
"alarm_severity" => 0,
94
"channel_uids" => "/^5\d\d[\-_]/",
96
"/^522-RTP/i" => "temperature",
97
"/^522-RP[PV]/i" => "vacuum"
101
$OPTIONS["aircoils"] = array(
102
"timestamp_channels" => true, // Groups is prefixed with two channels with accquisition timestamps (may give a number)
103
"date_limit" => "2008-04-21 12:00:00", //GMT
104
"optimize_empty_cache" => true,
105
// "graph_interpolate" => false,
106
"maximal_allowed_gap" => 120,
107
"ignore_invalid_data" => true,
108
// "fill_raw_first" => true,
109
"channel_uids" => "/^4\d\d[\-_]/",
111
"/^412-RTP/i" => "temperature"
116
$ADEI_AXES = array_merge($ADEI_AXES, array(
118
"axis_units" => _("C"),
119
"axis_name" => _("Temperature - ak"),
120
"axis_mode" => "STANDARD",
121
"axis_range" => false
127
"/\(C\)/" => "temperature",
128
"/\(nA\)/" => "current_nano",
129
"/\(#\)/" => "number",
130
"/\(V\)/" => "voltage"
133
$OPTIONS["orca"] = array(
135
"/^(.*)$/" => '${1}',
138
"/^(Data_0[\w\d_]+)$/" => array(
147
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
148
// "time_module" => "USECTICKS",
149
"time_format" => "U",
150
"min_resolution" => 10,
151
"ignore_subseconds" => true,
152
"optimize_empty_cache" => true,
153
"use_cache_timewindow" => true,
154
// "use_cache_reader" => true,
155
"use_md5_postfix" => true,
156
"axis" => $AXIS_DEFS,
157
// "axes_table" => array(
158
// "table" => "Axislist",
160
// "properties" => array(
161
// "axis_name" => "comment",
162
// "axis_units" => "unit"
165
"item_table" => array(
166
"table" => "Sensorlist",
169
"properties" => array(
175
"data_filters" => array(
176
"BADVALUEFilter" => array (