Skip to content

Feature/waveform trigger - #355

Closed
scadam526 wants to merge 2 commits into
jetperch:mainfrom
scadam526:feature/waveform-trigger
Closed

scadam526 wants to merge 2 commits into
jetperch:mainfrom
scadam526:feature/waveform-trigger

Conversation

@scadam526

Copy link
Copy Markdown

Adds a trigger function to the oscilloscope waveform view similar to what is found in actual hardware oscilloscopes. It also adds the ability for cursors to track relative to the trigger to allow for waveform analysis in trigger mode.

scadam526 and others added 2 commits November 13, 2026 10:06
The trigger holds repeating waveforms steady while streaming.  It scans
the raw samples of the trigger source from the stream buffer, finds the
level crossings with hysteresis and holdoff, interpolates between
samples, and places the newest complete trigger at the trigger position.
Auto, Normal, and Single modes work like an oscilloscope, and the time
axis displays the time relative to the trigger.

Drag the T markers to change the level and position, drag the trace to
move the trigger position, or right-click a plot and select
"Trigger here".  The control bar selects the mode and opens the
settings for the source, edge, level, position, holdoff, and noise
rejection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Markers placed while the trigger is on keep their time relative to the
trigger as the display refreshes, so dual markers measure the time,
frequency, and statistics between points of a triggered waveform.
Mouse positions and new markers use the trigger time of the displayed
frame, so markers do not jump while dragging as new triggers arrive.

Right-click a marker and select "Follow trigger" to change existing
markers.  The markers hold their position when the trigger is off, and
follow again when it returns.  Saving annotations to a JLS file stores
them as absolute markers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scadam526 scadam526 closed this Nov 13, 2026
@scadam526
scadam526 deleted the feature/waveform-trigger branch November 13, 2026 15:41
@scadam526

Copy link
Copy Markdown
Author

Sorry again. Clearly I am bad at github.

@scadam526
scadam526 restored the feature/waveform-trigger branch November 13, 2026 15:46
@scadam526
scadam526 deleted the feature/waveform-trigger branch November 13, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant