Package: wavebin
Oscilloscope Waveform Capture Viewerwavebinreads binary capture files generated by Agilent, Keysight and Rigol oscilloscopes and renders the waveforms in an interactive plot. Waveforms can be inspected,filtered,clipped,subsampledand exported tosigrok PulseVieworWAV files.wavebinhas been tested with capture files from aKeysight DSO-X 1102G,Keysight MSO-X 4154A,Rigol MSO5074, andRigol DHO804. If you have access to waveform files from other Agilent, Keysight or Rigol oscilloscopes, please submit them for testing through theSample Waveforms issue.Getting Startedwavebinis available via thePython Package Index (PyPI)and is installed usingpip.> pip3 install wavebinKeysight oscilloscopes save capture files to external USB Mass Storage devices for easy transfer to a PC. These files use the.binextension.
To open a capture file inwavebin, start the application by running:> python3 -m wavebinNext, clickFile→Openand navigate to the.binfile.Alternatively a capture file path can be specified when runningwavebinusing the-iargument.> python3 -m wavebin -i [PATH TO BIN FILE]For more information about thewavebincommand-line arguments run:> python3 -m wavebin -h
                              __    _
   _      ______ __   _____  / /_  (_)___
  | | /| / / __ `/ | / / _ \/ __ \/ / __ \
  | |/ |/ / /_/ /| |/ /  __/ /_/ / / / / /
  |__/|__/\__,_/ |___/\___/_.___/_/_/ /_/  v2.3

             vksdr.com/wavebin


usage: wavebin [-h] [-i FILE] [-v] [--no-opengl] [--no-limit]

Waveform capture viewer for Keysight oscilloscopes.

optional arguments:
  -h, --help   show this help message and exit
  -i FILE      path to Keysight waveform capturefile (.bin)
  -v           enable verbose logging mode
  --no-opengl  disable hardware accelerated rendering with OpenGL
  --no-limit   disable subsampling limit (may cause slow frame rates with large captures)FeaturesExport to PulseViewPulseViewbysigrokis a logic analysis tool typically used with hardware logic analyser devices. It is capable of decoding many serial and parallel protocols with its built-in decoders.Below is a 115200bd UART waveform captured on aDSO-X 1102G, loaded intowavebinwithclippingenabled to create a clean digital waveform, exported to PulseView and decoded using the PulseView UART protocol decoder.To export waveforms to PulseView, clickFile→Export to PulseViewthen navigate to a save location. The produced.srfilecan then be opened directly in PulseView.Export to WAVWAV files can be opened in most media players (e.g.VLC) and audio editors (e.g.Audacity).To export waveforms to WAV files, clickFile→Export to WAV filethen navigate to a save location. This will produce a mono.wavfile for each waveform. The WAV files names follow the format*_[n].wav, wherenis the waveform number starting at0.FilteringASavitzky-Golay low pass filteris included inwavebinfor smoothing waveforms. This filter can be enabled using theFilter Typedropdown menu.ClippingThe clipping option converts analog waveforms to digital waveforms in a similar way to a Schmitt trigger.Thefilteringand clipping options can be used simultaneously. Clipping is always applied after filtering.SubsamplingWhen a waveform capture is first loaded, all available sample points will be used to render the waveform.
The subsampling option renders the waveform using an equally-spaced subset of points.Below is a 62.5 MHz wave being rendered with all20,000points in the capture file, and then with only1250points.By default, waveforms with over50,000points will automatically be subsampled. This can be overridden using the--no-limitswitch.ResourcesFaustinCarter/agilent_read_binaryyodalee/keysightBinInput output formats - sigrokFile format:sigrok/v2 - sigrok