Skip to content

Commit

Permalink
Gentec-eo Blu support and test suite (#267)
Browse files Browse the repository at this point in the history
* Gentec-eo Blu support and test suite

Added support for gentec-eo's Blu series power meters. These power
meters connect via bluetooth, the bluetooth dongle showsvup as a regular
COM port. In addition,vthey can be plugged into a USB port and vshow up
as a regular serial interface as well.

Full test suite added as well.

All routines have example doc strings.

Added to docs.

* Add try, finally blocks to reset temporary variables if routines error

Also included tests that ensure that it actually works.
  • Loading branch information
trappitsch committed Oct 14, 2020
1 parent d9f2a77 commit c930722
Show file tree
Hide file tree
Showing 7 changed files with 1,286 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/source/apiref/gentec-eo.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. currentmodule:: instruments.gentec_eo

=========
Gentec-EO
=========

:class:`Blu` Power Meter
=======================================

.. autoclass:: Blu
:members:
:undoc-members:
1 change: 1 addition & 0 deletions doc/source/apiref/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Contents:
generic_scpi
agilent
fluke
gentec-eo
glassman
holzworth
hp
Expand Down
1 change: 1 addition & 0 deletions instruments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from . import agilent
from . import generic_scpi
from . import fluke
from . import gentec_eo
from . import glassman
from . import holzworth
from . import hp
Expand Down
3 changes: 3 additions & 0 deletions instruments/gentec_eo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""Module containing Gentec-eo instruments."""

from .blu import Blu
Loading

0 comments on commit c930722

Please sign in to comment.