From 4637c14c7249f2aa2d9c52ec4e80e98ee4640071 Mon Sep 17 00:00:00 2001
From: "emanuele.laface@esss.se" <emanuele.laface@esss.se>
Date: Fri, 20 May 2022 17:11:30 +0200
Subject: [PATCH] fix

---
 WebSites/instruments/dashboard.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/WebSites/instruments/dashboard.json b/WebSites/instruments/dashboard.json
index 5850659..271dac1 100644
--- a/WebSites/instruments/dashboard.json
+++ b/WebSites/instruments/dashboard.json
@@ -106,7 +106,7 @@
 						"plot_type": "line",
 						"legend": true,
 						"height": 6,
-						"value": "ws2hx = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:Positions_H\"][\"value\"];\nws2hy = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:BeamProfile_H\"][\"value\"];\nws2h = [];\n\nws2vx = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:Positions_V\"][\"value\"];\nws2vy = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:BeamProfile_V\"][\"value\"];\nws2v = [];\n\nfor (i=0; i < ws2hx.length; i++) {\n\tws2h.push([ws2hx[i], ws2hy[i]]);\n}\nfor (i=0; i < ws2vx.length; i++) {\n\tws2v.push([ws2vx[i], ws2vy[i]]);\n}\n\nws2data = [{label: 'Horizontal', data: ws2h, color: \"red\"},\n           {label: 'Vertical', data: ws2v, color: \"yellow\"}];\n\nreturn ws2data;",
+						"value": "ws2hx = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:PositionsFastScan_H\"][\"value\"];\nws2hy = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:BeamProfileFastScan_H\"][\"value\"];\nws2h = [];\n\nws2vx = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:PositionsFastScan_V\"][\"value\"];\nws2vy = datasources[\"WS\"][\"MEBT-010:PBI-WS-002:BeamProfileFastScan_V\"][\"value\"];\nws2v = [];\n\nfor (i=0; i < ws2hx.length; i++) {\n\tws2h.push([ws2hx[i], ws2hy[i]]);\n}\nfor (i=0; i < ws2vx.length; i++) {\n\tws2v.push([ws2vx[i], ws2vy[i]]);\n}\n\nws2data = [{label: 'Horizontal', data: ws2h, color: \"red\"},\n           {label: 'Vertical', data: ws2v, color: \"yellow\"}];\n\nreturn ws2data;",
 						"zoom": "xy"
 					}
 				}
-- 
GitLab