python-ivi/python-ivi — pull request #19 by ceeeeej (2014-08-27 10:29:55+00:00)
Title: LeCroy WaveRunner Xi-A Series Scope Driver

A gist showing the test script and results from testing are shown here: https://gist.github.com/ceeeeej/5a67280fd88bbfac57ad

This driver implements many functions of the LeCroy WaveRunner Xi-A series but is still a work in progress. More features and improved documentation and notes will be added soon. A short list of the functions currently implemented are:

scope.channels[chan].label
scope.channels[chan].label
scope.channels[chan].label_position
scope.channels[chan].coupling
scope.channels[chan].input_impedance
scope.channels[chan].invert
scope.channels[chan].noise_filter
scope.channels[chan].bw_limit
scope.channels[chan].interpolation
scope.channels[chan].probe_attenuation
scope.channels[chan].probe_skew

Writing screenshots to files:
scope.display.fetch_screenshot()

Basic triggering:
trig_chan = "C1"
scope.trigger.source = trig_chan
scope.trigger.type = "edge"
scope.trigger.mode = "single"
scope.channels[trig_chan].trigger_level = "15"

Reading waveform data from oscilloscope - works like the Agilent driver:
scope.channels['C1'].measurement.fetch_waveform()

Auto setup and memory save/recall:
scope.measurement.auto_setup()
scope.memory.save(1)
scope.memory.recall(1)