Files
2026-05-27 15:46:50 +02:00

34 lines
1.3 KiB
INI

# MARTe2 DAQ Viewer — example configuration
# All sections are optional; use command-line args to add sources dynamically.
#
# Usage:
# ./daq_viewer [config.ini] [label@host:port ...]
#
# Example: ./daq_viewer config/example.ini MySignals@192.168.1.100:44500
# ── Sources ──────────────────────────────────────────────────────────
# Each [source.N] section defines one MARTe2 UDPStreamer endpoint.
# Signal definitions (name, type, rate, etc.) arrive via CONFIG packets.
[source.0]
label = LocalTest
host = localhost
port = 44500
# [source.1]
# label = RemoteBoard
# host = 192.168.1.100
# port = 44500
# ── Display ───────────────────────────────────────────────────────────
[display]
fps = 30
width = 1400
height = 900
opengl_version = 2 # 2 = OpenGL 2.1 (default), 3 = OpenGL 3.2 core
# ── Trigger defaults ─────────────────────────────────────────────────
[trigger]
pretrigger_sec = 0.010 # 10 ms pre-trigger window
posttrigger_sec = 0.090 # 90 ms post-trigger window