ngscopeclient / scopehal

Test and measurement hardware abstraction library and protocol decodes. This is the library only. Most users should use scopehal-apps.
BSD 3-Clause "New" or "Revised" License
216 stars 97 forks source link

RigolOscilloscope: add DHO4000 Xorigin support and bandwidth/memory option detection #882

Closed jwise closed 2 months ago

jwise commented 2 months ago

It's possible to ask DHO4000 what the capture time offset was with :WAVeform:XORigin?. There is also :WAVeform:XREFerence? but the manual (page 414) says it always returns 0.

While we are in there, it is not possible to know the bandwidth of a DHO4000 only by looking at its model number: you also have to look at the upgrade keys to see if the user has added the bandwidth option -- or if they have downloaded more RAM with the memory depth unlock. (We currently don't do anything with that, but we might as well make the member variables correct if we can!)