This uses the mains signal powering the scope to trigger the measurements which is quite handy for this particular exercise. But when I went to probe the rectified waveform I was met with a surprise.
A case in point is the Scopefun open hardware project. The device is a capable 2-channel scope, a logic analyzer and also a waveform and pattern generator. The control GUI can work with Windows ...