Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:python-ivi:readme [2013/08/08 07:08]
alex [Installation]
en:python-ivi:readme [2014/02/12 20:28] (current)
alex [Usage example]
Line 9: Line 9:
   * Oscilloscopes (scope)   * Oscilloscopes (scope)
     * Agilent InfiniiVision 2000A/3000A series     * Agilent InfiniiVision 2000A/3000A series
 +    * Agilent InfiniiVision 6000A series
     * Agilent InfiniiVision 7000A/B series     * Agilent InfiniiVision 7000A/B series
     * Agilent Infiniium 90000A/​90000X series     * Agilent Infiniium 90000A/​90000X series
Line 16: Line 17:
     * Agilent E3600A series     * Agilent E3600A series
     * Agilent 603xA series     * Agilent 603xA series
 +    * Rigol DP800 series
 +    * Rigol DP1000 series
     * Tektronix PS2520G/​PS2521G     * Tektronix PS2520G/​PS2521G
   * RF Power Meters (pwrmeter):   * RF Power Meters (pwrmeter):
Line 21: Line 24:
   * RF Signal Generators (rfsiggen)   * RF Signal Generators (rfsiggen)
     * Agilent 8642 A/B     * Agilent 8642 A/B
 +  * Other 
 +    * Agilent 8156A optical attenuator 
 +    * Agilent 86140B series optical spectrum analyzer 
 +    * Colby Instruments PDL10A Programmable Delay Line 
 +    * DiCon Fiberoptics GP700 Programmable Fiberoptic Instrument 
 +    * JDS Uniphase TB9 Series Optical Grating Filter 
 +    * Tektronix AM5030 programmable current probe amplifier 
 +    * Tektronix OA5000 series optical attenuator
 ===== Instrument communication ===== ===== Instrument communication =====
  
Line 116: Line 126:
 # measure phase # measure phase
 phase = mso.channels['​channel1'​].measurement.fetch_waveform_measurement("​phase",​ "​channel2"​) phase = mso.channels['​channel1'​].measurement.fetch_waveform_measurement("​phase",​ "​channel2"​)
 +# save screenshot to file
 +png = mso.display.fetch_screenshot()
 +with open('​screenshot.png',​ '​wb'​) as f:
 +    f.write(png)
 +# save setup to file
 +setup = mso.system.fetch_setup()
 +with open('​setup.dat',​ '​wb'​) as f:
 +    f.write(setup)
 +# restore setup from file
 +with open('​setup.dat',​ '​rb'​) as f:
 +    setup = f.read()
 +mso.system.load_setup(setup)
 </​code>​ </​code>​