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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
##################
pymeasure.adapters
##################
The adapter classes allow the instruments to be independent of the communication method used.
The instrument implementation takes care of any potential quirks in its communication protocol (see :ref:`advanced_communication_protocols`), and the adapter takes care of the details of the over-the-wire communication with the hardware device.
In the vast majority of cases, it will be sufficient to pass a connection string or integer to the instrument (see :ref:`connecting-to-an-instrument`), which uses the :class:`pymeasure.adapters.VISAAdapter` in the background.
==================
Adapter base class
==================
.. autoclass:: pymeasure.adapters.Adapter
:members:
:undoc-members:
============
VISA adapter
============
.. autoclass:: pymeasure.adapters.VISAAdapter
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
==============
Serial adapter
==============
.. autoclass:: pymeasure.adapters.SerialAdapter
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
:private-members: _format_binary_values
================
Prologix adapter
================
.. autoclass:: pymeasure.adapters.PrologixAdapter
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
:private-members: _format_binary_values
==============
VXI-11 adapter
==============
.. autoclass:: pymeasure.adapters.VXI11Adapter
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
==============
Telnet adapter
==============
.. autoclass:: pymeasure.adapters.TelnetAdapter
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
=============
Test adapters
=============
These pieces are useful when writing tests.
.. automodule:: pymeasure.test
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: pymeasure.adapters.ProtocolAdapter
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: pymeasure.adapters.FakeAdapter
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
.. autoclass:: pymeasure.generator.Generator
:members:
|