Skip to content

EITLabworks/sciopy

Repository files navigation

Sciopy-logo

This package offers the serial interface for communication with an EIT device from ScioSpec. Commands can be written serially and the system response can be read out. With the current version, it is possible to start and stop measurements with defined burst counts and to read out the measurement data. In addition, the measurement data is packed into a data class for better further processing.

Installation

Windows: USB Driver Setup

USB FS:
To communicate with the Sciospec instrument over USB FS on Windows, follow the Linux platform instructions, since they are the same.

USB HS:
To communicate with the Sciospec instrument over USB (HS) on Windows, you must install the libusb driver.

Warning

Installing the libusb driver will prevent the Sciospec instrument from working with the official Sciospec software on the selected USB port (HS).

After installation, the Sciospec software may no longer recognize the device on that port.
(This process has been tested, but not successfully. The understanding is based on the Sciospec documentation that installing the libusb driver should enable usage on Windows, but Python still has communication issues. Using USB HS on Windows is therefore not solved.)

To restore the original behavior, you will need to uninstall the driver manually.
(This rollback process has not been fully tested.)

Linux/Unix Platforms

Clone the repository, then create and activate the Conda environment:

conda create --file environment.yml
conda activate sciopy
pip install -e .

Install libusb using Zadig

  1. Download and install Zadig:
    https://zadig.akeo.ie/

  2. Connect the Sciospec instrument to your computer.

  3. Open Zadig and enable: Options → List All Devices

  4. Select the correct Sciospec USB device from the list.

  5. Install the driver: libusb-win32 (v1.4.0.0)


Contact

If you have any ideas or other suggestions, please don't hesitate to contact me.

Email: jacob.thoenes@uni-rostock.de

Tip

I developed and tested this package on an Ubuntu/Linux system. If you encounter errors or issues on other operating systems and find a solution, you are welcome to contribute it to this repository.

Thank you!


About

Package for serial communication with the Sciospec EIT device.

Topics

Resources

License

Stars

16 stars

Watchers

5 watching

Forks

Packages

 
 
 

Contributors

Languages