-";
} else {
td.innerHTML = "
";
}
@@ -325,7 +325,7 @@
// Measured value
td = tr.insertCell();
td.innerHTML = "
";
@@ -340,8 +340,8 @@
td.style.width = "10px";
td.style.borderRight = "0";
- let varName = "Beamline_elements:" + spTable[i].names + " Measured," +
- "Beamline_elements:" + spTable[i].names + " Demand";
+ let varName = "EPICS:" + spTable[i].names + " Measured," +
+ "EPICS:" + spTable[i].names + " Demand";
if (spTable[i].history === "1")
td.innerHTML = "
";
@@ -404,7 +404,7 @@
function bbClose(flag, index) {
if (flag === true) {
mhttpd_refresh_pause(true);
- modbset("/Equipment/Beamline_elements/Variables/Demand["+index+"]", 0);
+ modbset("/Equipment/EPICS/Variables/Demand["+index+"]", 0);
mhttpd_refresh_pause(false);
}
}
@@ -412,7 +412,7 @@
function bbOpen(flag, index) {
if (flag === true) {
mhttpd_refresh_pause(true);
- modbset("/Equipment/Beamline_elements/Variables/Demand["+index+"]", 1);
+ modbset("/Equipment/EPICS/Variables/Demand["+index+"]", 1);
mhttpd_refresh_pause(false);
}
}
@@ -654,7 +654,7 @@
try {
let j = JSON.parse(text);
- if (j.Equipment && j.Equipment.Beamline_elements) {
+ if (j.Equipment && j.Equipment.EPICS) {
dlgAlert("File \"" + filename + "\" is not a valid beamline
settings file.
You are probably trying to load a beamline
configuration file.");
return;
} else if (j.spTable === undefined) {
@@ -677,8 +677,8 @@
a.push(e.fileValue);
mhttpd_refresh_pause(true);
- modbset("/Equipment/Beamline_elements/Settings/Filename Values", filename);
- modbset("/Equipment/Beamline_elements/Settings/Filevalue", a);
+ modbset("/Equipment/EPICS/Settings/Filename Values", filename);
+ modbset("/Equipment/EPICS/Settings/Filevalue", a);
setEquals();
mhttpd_refresh_pause(false);
@@ -703,10 +703,10 @@
function check_frontend() {
- mjsonrpc_call("cm_exist", {"name": "Beamline_elements Frontend"}).then( function(rpc) {
+ mjsonrpc_call("cm_exist", {"name": "EPICS Frontend"}).then( function(rpc) {
if (rpc.result.status !== 1)
document.getElementById("warning").innerHTML =
- "
Beamline_elements Frontend not running! ";
+ "
EPICS Frontend not running! ";
else
document.getElementById("warning").innerHTML = "";
window.setTimeout(check_frontend, 5000);
@@ -748,7 +748,7 @@
let elem = '';
for (let i=0 ; i
Filename:
+ data-odb-path="/Equipment/EPICS/Settings/Filename Config">
EPICS Gateway:
+ data-odb-path="/Equipment/EPICS/Settings/EPICS Gateway">