diff --git a/WebSites/instruments/dashboard.json b/WebSites/instruments/dashboard.json index 5850659700174532fcb16fd04260d1332092d782..271dac125d2b6c11ad111ddbdc291a172f7b0d41 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" } }