Skip to content

PyMoDAQ/pymodaq_plugins_avantes

Repository files navigation

pymodaq_plugins_avantes

0.1 Documentation Status Publication Status

Authors

Instruments

Viewer1D

  • avantes: control of an Avantes AvaSpec ULS2048CL EVO spectrometer

Installation instructions

  • PyMoDAQ 5.0.1
  • tested: Debian Linux 11/12, Windows 11
  • Drivers / binaries needed from Avantes
    • Linux: libavs.so (in libavs_..._amd64.deb)
    • Windows: avaspecx64.dll (AvaspecX64DLL_...Setup_64bit.exe)
    • MacOS: libavs.dylib
    • any: avaspec.py

Linux

  • Avantes publishes a Debian installation package libavs_..._amd64.deb. Run

    sudo pdkg -i libavs_..._amd64.deb
    

    to install its contents. Depending on the configuration of the Linux brand you're using, the file may end up in a directory where the dynamic linker doesn't find it. If that happens to you, you may also install the dynamic library by hand by copying it to a location where the dynamic linker will find it on your system. On Debian you may chose /usr/local/lib/avantes as "home" for the library. Copy the file libavs.so.whatever.version.number to that directory and run inside that directory

    sudo ln -s libavs.so.whatever.version.number libavs.so
    
  • Create (using sudo and your favorite editor) the file

    /etc/udev/rules.d/90-avantes.rules
    

    and set its content to

    SUBSYSTEM=="usb", ATTRS{idVendor}=="1992", ATTRS{idProduct}=="0669", MODE="0666"
    
  • Connect the spectrometer and run

    sudo udevadm control --reload-rules
    sudo udevadm trigger
    

Windows

  • Execute AvaspecX64DLL_...Setup_64bit.exe. The installer will ask you for a password which you have to get from the AvaSpec Library Manual which you should have received from Avantes together with the device.
  • The setup program will install and configure the device driver. Connect the device and check the device manager for an entry named "Avantes Spectrometers".

Continuation on any OS

  • Inside a shell (i.e. Miniforge Prompt on Windows) run

    pip install pymodaq_plugins_avantes
    
  • Start the dashboard and create a preset using the avantes plugin.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages