Jun 9 – 15, 2018
Woodlands Conference Center
America/New_York timezone
**** See you at Real Time 2020 ****

Web-based Real Time Monitoring with HTML5

Jun 12, 2018, 2:40 PM
1h 30m
Woodlands Conference Center

Woodlands Conference Center

159 Visitor Center Dr, Williamsburg, VA 23185
Poster presentation Control, Monitoring,Test and Real Time Diagnostics Systems Poster 1


Stefan Ritt (Paul Scherrer Institute)


Experiments in nuclear and plasma physics require real-time monitoring. In the past, dedicated control applications have been written for graphical display of process parameters. Modern web technologies allow nowadays the control and monitoring of real-time processes directly from any browser. This has the advantage that no software has to be installed, software updates are automatically reflected in the browser, and mobile devices with web browsers can be used to control experiments.

This paper describes a set of techniques which make this easily possible. A minimal web server based on the Mongoose Server is used to connect directly to the hardware for monitor and control. JavaScript Object Notation (JSON) is used to exchange data between the server and the browser, and Typed Arrays are used for high-speed waveform transfer.

The browser side uses Asynchronous JavaScript Extensions (AJAX) together with Remote Procedure Calls (JSON-RPC) to retrieve data from the web browser. The HTML canvas element is then used to render any graphics. Features of an oscilloscope implementation inside a web browser are shown and indications are give how to use these techniques for other applications.

Speaker Stefan Ritt
Country Switzerland
Description Json
Institute PSI
Minioral Yes

Primary author

Stefan Ritt (Paul Scherrer Institute)

Presentation materials