Skip to content
Snippets Groups Projects
Commit cbd1ef79 authored by Arthur Coolen's avatar Arthur Coolen
Browse files

Task #1603:changed hardcoded MCU001 to MainDBName

parent c9579276
No related branches found
No related tags found
No related merge requests found
...@@ -21,12 +21,12 @@ PANEL,-1 -1 388 166 N "_3DFace" 2 ...@@ -21,12 +21,12 @@ PANEL,-1 -1 388 166 N "_3DFace" 2
$name == \"TBBControl\") { // Station $name == \"TBBControl\") { // Station
if (dpExists(MainDBName+\"LOFAR_PermSW_MACScheduler.activeObservations\")) { if (dpExists(MainDBName+\"LOFAR_PermSW_MACScheduler.activeObservations\")) {
if (dpConnect(\"observationChanged\", \"MCU001:LOFAR_PermSW_MACScheduler.activeObservations:_online.._value\", if (dpConnect(\"observationChanged\", MainDBName+\"LOFAR_PermSW_MACScheduler.activeObservations:_online.._value\",
\"MCU001:LOFAR_PermSW_MACScheduler.activeObservations:_online.._invalid\") == -1) { MainDBName+\"LOFAR_PermSW_MACScheduler.activeObservations:_online.._invalid\") == -1) {
LOG_ERROR(\"SWController_small.pnl:main|Couldn't connect to: MCU001:LOFAR_PermSW_MACScheduler.activeObservations\"); LOG_ERROR(\"SWController_small.pnl:main|Couldn't connect to: \"+MainDBName+\":LOFAR_PermSW_MACScheduler.activeObservations\");
} }
} else { } else {
if (!isStandalone()) LOG_ERROR(\"SWController_small.pnl:main|Couldn't find DP to connect to: \"+ManiDBName+\"LOFAR_PermSW_MACScheduler.activeObservations\"); if (!isStandalone()) LOG_ERROR(\"SWController_small.pnl:main|Couldn't find DP to connect to: \"+MainDBName+\"LOFAR_PermSW_MACScheduler.activeObservations\");
} }
} else { } else {
reload(); reload();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment