rigol-ds: Calculate effective samplerate.