Repository navigation
Description
One request
- This request describes one feature or improvement, or changes that belong to the same feature.
Area
Scope
What do you want to do?
Read a frequency from the counter overlay (and the FC readout) for a fast signal the scope clearly
shows, instead of "no signal".
Feed a 20 MHz sine into CH1: the trace and the f readout show 20 MHz, but the counter overlay says
"no signal". The hardware counter counts the trigger comparator's edges, and with a small sine at
20 MHz the comparator often never switches, so the count is a Clean zero. That is correct for the
counter, but on the screen it reads as a contradiction: the signal is right there. A reviewer ran
into exactly this on camera and took it as the counter being broken.
Proposed solution
An option in the Frequency counter section (Analyze > Display), next to Counter, Readings averaged
and Clock correction: "No edges counted", with the choices "No signal" (default, exactly today's
behaviour) and "Trace f (~)".
With "Trace f ()", when the count is a Clean reading of no edges at all, the overlay and the FC" like an approximate readout, with the f
cell show the record's own frequency instead, marked "
readout's 2-3 digits: "20.0MHz~". It only stands in when all of these hold:
- the count is valid, Clean, 0 Hz and saw no edges (not Changing, not Uncertain, not one stray edge);
- the record's f comes from its edges (not from the spectrum, which can be an alias);
- the record was sampled at 80 MS/s or more (full rate; the 360 MHz profile runs the ADC at 90 MS/s);
- the record was captured from 1 s before the count began to about 3 s after it ended (the
longest gap between two counts plusCounterCheck::SlackMs), so a HOLD or Single record from
earlier never stands in for a live count, and the value doesn't flicker between counts.
No clock correction is applied to it (it isn't a count), and SCPI keeps reporting the raw count.
In the theme JSON it would be plot.counter.estimate (0/1): missing reads as 0, and it is written
only when 1, so saved files stay the same for everyone who doesn't turn it on.
Related, and there with the option Off too: with Readings averaged 3 or 10, a count of no edges
goes into the overlay's mean, so when a signal stops being counted the overlay shows a falling
value with full digits (20 MHz, then 17.14286MHz and lower) for up to ten cycles before "no signal". The
branch restarts the mean on a count of none, as it does on an unsettled one.
I have this on a branch against 0.21.19 (one commit) and can open it as a PR if you want it. Happy
to rename the row or the key, or to leave it to you if you'd rather do it another way.
Alternatives
Adding an f readout to the footer shows the trace's frequency today, but the counter overlay next
to it still says "no signal", which is what people notice. Moving the trigger level into the
waveform helps when the comparator can switch at all; at 20 MHz with a small amplitude it often
can't.
Devices
- ZT703S
- ZT706S
Activity
bve commentedon Nov 26, 2026
Included in the OpenOSC 0.22.0 pre-release.
The frequency counter now offers No edges counted → Trace f (~). The option displays an estimate from waveform edges in the overlay and FC cell when the comparator counts zero edges. I checked an approximately 20 MHz display estimate with a raw count of zero over SCPI.