Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 63e85e24bb40
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e2f9d6a3c5af
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 17, 2021

  1. Copy the full SHA
    e2f9d6a View commit details
Showing with 4 additions and 2 deletions.
  1. +4 −2 scopehal/Oscilloscope.h
6 changes: 4 additions & 2 deletions scopehal/Oscilloscope.h
Original file line number Diff line number Diff line change
@@ -67,8 +67,10 @@ class Oscilloscope : public virtual Instrument
In order to see updates made by the user at the front panel, the cache must be flushed.
Cache flushing is recommended every second or so during interactive operation.
In scripted/ATE environments where nobody should be touching the instrument, longer intervals may be used.
Cache flushing is recommended to be manually triggered during interactive operation if there is no way to
push updates from the scope to the driver.
In scripted/ATE environments where nobody should be touching the instrument, flushing is typically not needed.
The default implementation of this function does nothing since the base class provides no caching.
If a derived class caches configuration, it should override this function to clear any cached data.