Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:python-ivi:readme [2013/04/08 03:14] alex [Usage example] |
en:python-ivi:readme [2013/08/08 04:38] alex [Included drivers] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* Oscilloscopes (scope) | * Oscilloscopes (scope) | ||
+ | * Agilent InfiniiVision 2000A/3000A series | ||
* Agilent InfiniiVision 7000A/B series | * Agilent InfiniiVision 7000A/B series | ||
* Agilent Infiniium 90000A/90000X series | * Agilent Infiniium 90000A/90000X series | ||
Line 13: | Line 14: | ||
* Tektronix AWG2000 series | * Tektronix AWG2000 series | ||
* DC Power Supplies (dcpwr) | * DC Power Supplies (dcpwr) | ||
- | * Tektronix PS2520G/PS2521G | ||
* Agilent E3600A series | * Agilent E3600A series | ||
+ | * Agilent 603xA series | ||
+ | * Tektronix PS2520G/PS2521G | ||
* RF Power Meters (pwrmeter): | * RF Power Meters (pwrmeter): | ||
* Agilent 436A | * Agilent 436A | ||
Line 22: | Line 24: | ||
===== Instrument communication ===== | ===== Instrument communication ===== | ||
- | Python IVI can use Python VXI-11, pySerial and linux-gpib to connect to instruments. The implementation of the initialize method takes a VISA resource string and attempts to connect to an instrument. If the resource string starts with TCPIP, then Python IVI will attempt to use Python VXI-11. If it starts with GPIB, it will attempt to use linux-gpib's python interface. If it starts with ASRL, it attemps to use pySerial. Integration with PyVISA is planned, but not currently supported. | + | Python IVI can use Python VXI-11, Python USBTMC, pySerial and linux-gpib to connect to instruments. The implementation of the initialize method takes a VISA resource string and attempts to connect to an instrument. If the resource string starts with TCPIP, then Python IVI will attempt to use Python VXI-11. If it starts with USB, it attempts to use Python USBTMC. If it starts with GPIB, it will attempt to use linux-gpib's python interface. If it starts with ASRL, it attemps to use pySerial. Integration with PyVISA is planned, but not currently supported. |
===== A note on standards compliance ===== | ===== A note on standards compliance ===== | ||
Line 48: | Line 50: | ||
# connect to MSO7104A via LXI | # connect to MSO7104A via LXI | ||
mso = ivi.agilent.agilentMSO7104A("TCPIP0::192.168.1.104::INSTR") | mso = ivi.agilent.agilentMSO7104A("TCPIP0::192.168.1.104::INSTR") | ||
+ | # connect to MSO7104A via USBTMC | ||
+ | #mso = ivi.agilent.agilentMSO7104A("USB0::2391::5973::MY********::INSTR") | ||
# configure timebase | # configure timebase | ||
mso.acquisition.time_per_record = 1e-3 | mso.acquisition.time_per_record = 1e-3 |