forked from pyvisa/pyvisa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
69 lines (44 loc) · 2.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
PyVISA
======
A Python package for support of the "Virtual Instrument Software
Architecture" (VISA), in order to control measurement devices and
test equipment via GPIB, RS232, Ethernet or USB.
Description
-----------
The programming of measurement instruments can be real pain. There are many
different protocols, sent over many different interfaces and bus systems
(GPIB, RS232, USB). For every programming language you want to use, you have to
find libraries that support both your device and its bus system.
In order to ease this unfortunate situation, the Virtual Instrument Software Architecture
(VISA_) specification was defined in the middle of the 90'. Today VISA is implemented on
all significant operating systems. A couple of vendors offer VISA libraries, partly
with free download. These libraries work together with arbitrary peripherical devices,
although they may be limited to certain interface devices, such as the vendor’s GPIB card.
The VISA specification has explicit bindings to Visual Basic, C, and G (LabVIEW’s graphical
language. However, you can use VISA with any language capable of calling functions in a DLL.
Python is such a language.
.. _VISA: http://www.ivifoundation.org/specifications/default.aspx
VISA and Python
---------------
Python has a couple of features that make it very interesting for measurement controlling:
- Python is an easy-to-learn scripting language with short development cycles.
- It represents a high abstraction level [2], which perfectly blends with the abstraction
level of measurement programs.
- It has a very rich set of native libraries, including numerical and plotting modules for
data analysis and visualisation.
- A large set of books (in many languages) and on-line publications is available.
Requirements
------------
- VISA (tested with NI-VISA 3.2, WinXP, from www.ni.com/visa)
- Python (tested with 2.6 and 3.2+)
Installation
--------------
Using pip:
$ pip install pyvisa
or easy_install:
$ easy_install pyvisa
or download and unzip the source distribution file and:
$ python setup.py install
Documentation
--------------
The documentation can be read online at https://pyvisa.readthedocs.org