hvl_ccb.dev.tiepie

Submodules

Module contents

This module is a wrapper around libtiepie Oscilloscope devices; see https://www.tiepie.com/en/libtiepie-sdk .

The device classes adds simplifications for starting of the device (using serial number) and managing mutable configuration of both the device and oscilloscope’s channels. This includes extra validation and typing hints support.

To install libtiepie on Windows: The installation of the Python bindings “python-libtiepie” is done automatically with the dependencies of the hvl_ccb. The additional DLL for Windows is included in that package.

On a Linux-system additional libraries have to be installed; see https://www.tiepie.com/en/libtiepie-sdk/linux .

On a Windows system, if you encounter an OSError like this:

...
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

most likely the python-libtiepie package was installed in your site-packages/ directory as a python-libtiepie-*.egg file via python setup.py install or python setup.py develop command. In this case uninstall the library and re-install it using pip:

$ pip uninstall python-libtiepie
$ pip install python-libtiepie

This should create libtiepie/ folder. Alternatively, manually move the folder libtiepie/ from inside of the .egg archive file to the containing it site-packages/ directory (PyCharm’s Project tool window supports reading and extracting from .egg archives).