Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:python-vxi11:readme [2013/08/08 05:05] – [Installation] alex | en:python-vxi11:readme [2013/12/17 07:24] (current) – [Usage Examples] alex | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| </ | </ | ||
| - | Connecting to Agilent E3649A via HP 2050A GPIB bridge: | + | Connecting to Agilent E3649A |
| <code python> | <code python> | ||
| Line 36: | Line 36: | ||
| # returns ' | # returns ' | ||
| </ | </ | ||
| + | |||
| + | It is also possible to connect with VISA resource strings like so: | ||
| + | |||
| + | <code python> | ||
| + | import vxi11 | ||
| + | instr = vxi11.Instrument(" | ||
| + | print(instr.ask(" | ||
| + | # returns ' | ||
| + | </ | ||
| + | |||
| + | and: | ||
| + | |||
| + | <code python> | ||
| + | import vxi11 | ||
| + | instr = vxi11.Instrument(" | ||
| + | print(instr.ask(" | ||
| + | # returns ' | ||
| + | </ | ||
| + | |||
| + | |||