A scope- and canvas-node-based oscilloscope

The oscilloscope is three-channel, making use of the scope node’s ability to display the channels of a poly input. A Canvas overlay is used to make measurements. A red vertical unit reference sits on each baseline and a trigger position marker appears at the top and bottom, either at the left or at center, depending on the “Trig Pos” toggle setting.

Each channel can be inverted. Each can be direct- or “ac” coupled. Each can be amplified or attenuated. A vertical position control moves each baseline. Signal, gain, and offset for the three channels are all sent as the first 9 channels of a 14-channel poly signal to be sent to the display module.

Setting a gain knob to full counterclockwise for a channel turns off display of the waveform and the canvas elements for that display. It also opens up more vertical space for the remaining channels’ canvas elements. (you’ll probably want to next reposition the baselines of the displayed channels to make best use of the extra space)

An external trigger is needed to initiate a sweep. The trigger signal can be “ac-coupled” or connected directly. The trigger mode toggle selects whether the direct signal or its envelope should be compared to the threshold set by the threash knob. With the up/down direction switch you can choose to trigger on the leading or trailing edge of the signal.

Triggering can be continuous or it can be set as a single-shot, with the Go button initiating a trace on the next captured trigger, or it can freely run. A “trigger holdoff” control can limit how often a sweep is to be initiated. At bottom, right corner of the trigger section is a trigger output with coincident RGB light. A trigger that initiates a sweep will flash white. A trigger that is skipped during the holdoff time will flash red.

Trigger position is set by the Trig Pos toggle to left or center of display.

The sweep is divided into 100 segments, with the time base knob setting how many samples will be in a segment, with a minimum of one sample per segment. The sweep can be delayed over a zero to 10s range by turning the “Sweep Delay” knob. This allows you to move the waveform that’s displayed. The sweep delay knob is the “endless” type, with a ratio of one second per turn. You adjust it by spinning about the center or by dragging any edge in the direction you want to go. The delay can be set roughly at a low sweep rate until the feature you’re interested in appears at the (delayed) trigger mark. As you increase sweep rate, the sensitivity to turns to the knob is automatically reduced to allow more precise adjustments. A tap on the button resets delay to zero. The delay value is saved between uses. (Note: this feature uses the “endless knob” module. It’s this delay application that prompted me to create the thing.)

The LED light above the reset button flashes blue with positive changes to the delay value and red to negative changes. It glows green when the delay is zero. (Note that for small changes you won’t see much movement in the knob, but you should see the flashing and the changes in the value.)

The display uses the scope node with an overlaying canvas node. The display can be scaled by resizing the scope node and cavas node. If the scope and canvas nodes are set to match in size and exposed position, they will remain in alignment.

The canvas node is used to create the channel markers (a, b, c), vertical red reference bars with yellow top tick marks, green tick marks that are moved up the red bar following the setting of the Vmeas knob on the display, and upper and lower yellow trigger (or delayed trigger, [T+delay]) marks. The node also displays the associated measurements.

The reference bars follow the setting of the vertical position knobs for the corresponding channels. The reference bars normally display a reference value at the top. As the gain is increased for a channel, the bar will grow onscreen until either the max height for that channel or the top of the canvas is reached, at which point the reference value will take fractional values. As gain is reduced for large signals, the bar will begin to stack, with the value at the yellow line updating by integer amounts to reflect the larger value it represents.

A movable green reference mark follows the setting of the ‘Vmeas’ (voltage measuring) knob, which indicates levels above the baseline. This control scales for each channel, with a to-scale readout in green. Negative-going levels can be measured by flipping that channel’s invert switch.

Setting the ‘tMeas’ (time measuring) knob off-center will split the red reference line in two, allowing time/frequency measurements.

Version History

V9.5 2024-03-22
Oscilloscope scope-node 3-ch v9_5.audulus4 (134.8 KB)

  1. Updated fixed-point/engineering displays to fixed width (mono spaced type)
  2. Added “off” indicators/ special display for delay and trig holdoff readouts.
  3. Rearranged timebase UI.

V9.4 2024-03-13
Oscilloscope scope-node 3-ch v9_4.audulus4 (124.6 KB)

  1. Changed sweep delay displays to “fixed/engineering” mode and added digits when the delay reached 1 sec so that you can still see small value changes at large delays. (Fix/eng mode uses fixed point when multiplier is 10^0; Engineering units otherwise.)
  2. Scaled up the sensitivity of the red/blue flashers with increasing sweep rates. They were going dark when making sweep delay adjustments while zoomed in.

V9 2024-03-11
Oscilloscope scope-node 3-ch v9-3.audulus4 (123.7 KB)

  1. Added trigger delay wheel and display readout, with trigger position marker.
  2. Removed trigger position knob and replaced it with a Left/Center toggle.
  3. Removed sweep direction toggle.

Oscilloscope scope-node 3-ch-231211_01.audulus4 (100.6 KB)
V8 2023-12-11 Increased the options for the time base:
Originally 1, 3, 10, 30, 100, 300, 1000, 3000 samples per segment
now 1, 2, 3, 6, 10, 20, 30, 60, 100, 200, 300, 600, 1000, 2000, 3000 samples per segment

Oscilloscope scope-node 3-ch-231117_01.audulus4 (100.0 KB)
Cosmetic only

Oscilloscope scope-node 3-ch-231114_01.audulus4 (103.9 KB)
V6 2023-11-14

  1. Make each channel truncate at its local maximum or at top of screen, whichever is closest.
  2. Got green ref value centered
  3. Fixed dimming problem with some colors
  4. Changed threshold for channel off to allow measuring higher values (the value is in an expression node at top left of guts module’s innards)
  5. Bars grow as channel count drops, down to near canvas_height for one channel.
  6. Ymeas knob at full CW scales to top amplitude shown for each channel.

Oscilloscope scope-node 3-ch-231109_01.audulus4 (103.1 KB)
Allows measuring large waveforms (at low gains)

Oscilloscope scope-node 3-ch-231021_01.audulus4 (101.7 KB)
Ability to turn a channel off

Oscilloscope scope-node 3-ch-231015_01.audulus4 (100.9 KB)
Small change to indicate the inverted signal with a negative ref value at the top of the bar for the inverted channel.

Oscilloscope scope-node 3-ch-231014_01.audulus4 (100.4 KB)

Oscilloscope scope-node 3-ch-230912.audulus4 (103.3 KB)
| 9/12/23 | First out there


Sweep Delay Demo

Oscilloscope-sweep-delay-testing-demo.audulus4 (148.9 KB)

Filter Measurement Demo

Oscilloscope-filter-testing-demo.audulus4 (136.4 KB)

Teeth Synth Demo

Teeth Synth Demo.audulus4 (247.9 KB)



1 Like

Just uploaded a new version


I really love this, lots to explore. Nice solution to that pesky retrace with your blanking scheme. Clean.

Thanks! I guess if it weren’t for Audulus I’d be building ships in bottles, and none of us wants that!

1 Like

Just uploaded V5, with reference bars and measuring range that grows as channel gain is reduced. This allows measuring larger signals. (Positive of baseline; the measure negative-going signals invert that channel with the switch)

1 Like

V6 uploaded. Now, each channel’s canvas elements take up a set fraction of the canvas height, growing as channels are turned off.

V7 Uploaded (forgot to notify with this post)
Purely cosmetic

1 Like

V8 uploaded. Added more time base options:

now: 1, 2, 3, 6, 10, 20, 30, 60, 100, 200, 300, 600, 1000, 2000, 3000 samples per segment

1 Like

Version 9, adding a sweep delay to allow you to zero in and zoom into signal features far removed from the triggrer. It uses my new endless knob, with a turn ratio input added to allow fine control for all sweep settings. Also removed the reverse sweep toggle, which I wasn’t using and was becoming a problem to maintain.

1 Like

V9.4 uploaded. Improvements to sweep delay time display. Fixed disappearing red/blue flashers at high sweep rates, when the knob turn ratio is lower.

1 Like

Small update. Monospaced displays version.
V9.5 2024-03-22
Oscilloscope scope-node 3-ch v9_5.audulus4 (134.8 KB)

  1. Updated fixed-point/engineering displays to fixed width (mono spaced type)
  2. Added “off” indicators/ special display for delay and trig holdoff readouts.
  3. Rearranged timebase UI.