Case study · user-facing platform · since 2016
Instrument control in the browser for scientific facilities.
Operators, beamline scientists, and control engineers at accelerators, synchrotrons, and neutron sources ran their instruments through native desktop clients wired to the hardware. Waltz put that work in a browser and let each facility extend it with its own instrument components. I designed it, built it, and maintained it for ten years.
Problem
A control-room operator needs live values from hundreds of devices, plots, and the ability to change a setting safely. The tools for that were desktop clients tied to one machine and one installation. Every facility also has instruments nobody else has, so each one needs its own panels, and each used to mean a fork or a custom application. Installing, updating, and sharing those panels was slow, which made experiments and commissioning slower.
Discovery
The need surfaced through hands-on work at DESY and conversations across the Tango Controls community, where web access to control systems kept coming up as a gap. No formal user research preceded the first version. I built a small working interface early, put it in front of operators and developers, and let their requests shape the roadmap. The 2019 workshops (below) became the structured feedback loop.
Decisions
Browser over another desktop client
A browser removes installation and update friction, works on any operator's machine, and lets a facility share one deployment. The cost was that nobody had solved live hardware streaming in a browser yet, which led to the libraries below.
A written contract before the code
The Tango REST API specification came first, as a formal document, before the server code that implemented it. Any conforming server worked with Waltz, and any conforming client worked with any conforming server. The community adopted it as the standard interface between web clients and control systems.
Extension without forking
Facilities needed their own instrument widgets, so the plugin contract became the product's main design constraint. A facility adds a widget without touching the core, and that widget survives the next upstream release.
What I shipped
The application plus three independently published libraries, each solving a problem that had no off-the-shelf answer in 2016.
A reliable Server-Sent Events source
Operators need live values without polling. The browser's native
EventSource reconnects but does not recover missed events, dedupe across
reconnects, or multiplex subscriptions over one connection. This library does all
three, so the UI can treat a hardware stream as a dependable feed.
An event-bus SPA middleware
Independently developed components publish and subscribe on a central bus instead of calling each other. That decoupling made third-party plugins possible, because a plugin only speaks the bus protocol and shares nothing else with the host.
A framework-agnostic plugin model
Widgets register against the bus at startup and resolve at render time. The production build ships Webix widgets, CodeMirror, and Plotly side by side, and the same model accommodates React or Angular widgets without changing core code.
Outcome and learning
Three workshops at DESY in 2019 brought developers from multiple facilities together to build extensions collaboratively. Maintainers elsewhere could diagnose and fix issues without me, because the libraries and the plugin contract were independently documented and versioned. The Tango REST specification became the community standard, and Waltz stayed in active development for ten years.
The lasting lesson: the durable parts of a platform are its contracts and libraries, and the application is the first customer of them. Looking back, I would invest in usage telemetry and structured operator interviews from the first release, which would have replaced informal feedback with measured adoption data.
Numbers
Stack
JavaScript · RxJS · Webix · CodeMirror · Plotly · webpack · Server-Sent Events · REST · Docker · Tomcat · Tango Controls · EPICS · TINE · DOOCS