- Resizable plot grid: drag handles between plots adjust column/row fr sizes
- Plot configuration toolbar (click title): edit title, select Normal/Mixed/Digital mode
- Digital mode: logic-analyzer banded layout, signals quantized to hi/lo per band
- Mixed mode: banded layout where each signal is independently analog or digital
- Per-signal vscale toolbar embedded inline below plot header (badge click to open)
- Active signal highlighted in foreground with increased line width
- Signal offset markers draggable on Y axis; per-plot vscale state isolation
- Buffer sizing based on signal sampling rate (up to 60s @ configured rate)
- growBuffer: live buffer expansion without data loss on window/rate change
- Zoom bracket lines: nearest out-of-range points included for continuity
- Updated Docs/WebUI.md to reflect current uPlot-based implementation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Per-signal, per-plot vertical scale state (sigVScale keyed by plotId:signalKey)
so the same signal in two plots has fully independent vscale config
- Active signal redrawn on top of all series with 2× line width for clear
visual identification; badge click toggles selection and opens/closes the
embedded vscale toolbar (click same badge again to deselect)
- Vscale configurator moved from floating popup to a slim toolbar strip
anchored inside the plot card, with an × close button
- Trigger dropdown shows one entry per array signal with [0…N-1] label;
opening it shows an index-picker dialog to choose the element
- Zoom resampling: when server returns no data for a zoomed range, fall
back to the local circular buffer instead of returning empty arrays
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
DataSource (C++):
- New optional config: MulticastGroup (e.g. "239.0.0.1") and DataPort
(default Port+1); when set, enables multicast mode; absent = unicast
- Control plane: BasicTCPSocket listener on Port; CONNECT received over
TCP triggers HandleTCPConnect() which sends CONFIG via the same TCP
connection
- Data plane: BasicUDPSocket aimed at MulticastGroup:DataPort; all DATA
fragments sent via dataSocket.Write() so any joined client receives them
- useMulticast is the single branch point; every unicast code path is
unchanged when MulticastGroup is absent
- New methods: HandleTCPConnect(), IsMulticast()
- 5 new unit tests (ports 44710-44729); all 38 tests passing
WebUI hub (Go):
- SourceConfig gains MulticastGroup and DataPort fields (JSON, optional)
- UDPClient gains multicastGroup/dataPort; Run() routes to new
runMulticastSession() when multicastGroup is non-empty
- runMulticastSession(): TCP dial for CONNECT/CONFIG, net.ListenMulticastUDP
for DATA, background goroutine watches TCP for DISCONNECT/close
- All existing sm.Add() call sites updated (unicast callers pass "", 0)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
UDPStreamer:
- Add PublishingMode = "Strict" | "Auto" config parameter
- Add MinRefreshRate (Hz) for Auto mode; uses HRT phase-locked tick
counting to rate-limit sends without accumulation buffers
- Fix high-frequency integration test configs to use newline-separated
key-value pairs (MARTe2 StandardParser does not treat ';' as delimiter)
- Add 3 new unit tests (AutoMode_Valid, AutoMode_MissingRefreshRate,
UnknownPublishingMode); all 33 tests passing
WebUI hub:
- Skip ring-buffer LTTB writes when zoom has not been accessed in 10 s,
reducing idle CPU usage
- Use unsafe float64→bytes reinterpretation to eliminate per-element
encoding overhead in the hot broadcast path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reorder Execute() main stage so the background thread waits on dataSem
(sleeping until the RT thread posts) before doing the socket select().
The socket poll is now non-blocking (timeout=0) since command latency
bounded by UDPS_DATA_WAIT_MS is acceptable for CONNECT/DISCONNECT.
Also force-remove old udpstreamer-webui binary in run.sh before rebuild
so stale embedded assets are never served.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace fragile zoomGuard boolean with userInteracting flag so that
programmatic scale updates (rolling window, resize, fit) never lock
p.xRange. Only genuine mouse drag or scroll-wheel events on the uPlot
canvas set userInteracting=true and allow onZoom to freeze the view.
Also move stale-xRange detection out of the needsRedraw gate so that a
plot whose circular buffer has scrolled past a frozen zoom range
automatically returns to rolling-window mode every frame, fixing the
second bug where data disappeared as the buffer wrapped.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>