Giter VIP home page Giter VIP logo

Comments (12)

sdebionne avatar sdebionne commented on August 22, 2024

Hi Phil, sure we could mention the use of a dedicated conda environment for our lima packages. This is actually the way we deploy at ESRF (one env per camera wherever the same backend computer is used for multiple cameras).

conda create -n my-camera-env
conda activate my-camera-env
conda install -c esrf-bcu lima-camera-xxx

Did you checkout the doc about building the cameras using conda toolset and libraries? I would be happy to get your feedback.

from lima.

PhilLAL avatar PhilLAL commented on August 22, 2024

Yes, absolutly, this was what makes me think about it. :)

About this install step https://lima-doc.readthedocs.io/en/latest/build_install.html#install-binary-packages, I don't get the difference between lima-camera-basler and lima-camera-basler-tango.

I understand now LImA can work without TANGO, but if I work with TANGO, could I need lima-camera-basler and if yes, when?

from lima.

sdebionne avatar sdebionne commented on August 22, 2024

If you work with tango, all you need is the tango package -that will in turn get the camera plugin as a runtime dependency and so on.

lima-camera-basler-tango |-> lima-camera-basler -> lima-core -> processlib
                         |-> lima-tango-server -> pytango

from lima.

PhilLAL avatar PhilLAL commented on August 22, 2024

Ok, thank you for the explanation :)

from lima.

PhilLAL avatar PhilLAL commented on August 22, 2024

Hi,
I suggest to include an explanation into the doc (https://lima1.readthedocs.io/en/latest/build_install.html#install-binary-packages) to make it clear for the newcomer what is the difference.
I get the dependency but I'm not sure what is the content of each package so I'm not sure how to say it.

from lima.

PhilLAL avatar PhilLAL commented on August 22, 2024

Hello,
discussing on this topic with some colleagues, we're not sure to understand what is included into lima-camera-basler-tango and in lima-camera-basler.

When it is written a "fully loaded LImA and all its dependencies with the Basler camera plugin and SDK" is included, does it mean Pylon (for Basler) is included for example?

from lima.

sdebionne avatar sdebionne commented on August 22, 2024

Hi,

lima-camera-basler-tango itself is just the Basler camera plugin of LimaCCDs (the Tango Device Server), a file named Basler.py.

When installed, it also pull all its dependencies:

                                                | -> pylon-sdk
lima-camera-basler-tango |-> lima-camera-basler | -> lima-core | -> processlib -> gsl
                         |                                     | -> hdf5, tiff, libconfig, ...
                         |-> lima-tango-server  | -> pytango -> tango -> zmq...
                                                | -> boost-python

No more ascii art.

What I mean by "fully loaded LImA" is that the conda package of LImA was built with all options (and dependencies) ON.

from lima.

PhilLAL avatar PhilLAL commented on August 22, 2024

Great, it is even better than I though since it installs also pylon!
Thanks for the explanation Samuel. :)

from lima.

sdebionne avatar sdebionne commented on August 22, 2024

pylon-sdk installs the user-space libraries of Pylon, not the drivers. Depending on the camera, you may have to install the driver with the Pylon SDK installer (of the same version of Pylon). Windows and Linux use different Pylon versions. And Pylon 5.2 is not compatible: the low-level API we use in the plugin was removed.

from lima.

laurent-claustre avatar laurent-claustre commented on August 22, 2024

you're right Samuel, but the lima basler plugin is only supporting GigE camera models. So far for Linux you can only trust on the pylon-sdk conda package.
For windows, you musst install pylon, because it will install some drivers to configure the GigE network adapter connected to your camera:
win-pylon-driver

from lima.

PhilLAL avatar PhilLAL commented on August 22, 2024

Laurent made me wonder: I read that only GigE Basler have been tested but since only GigE Basler are supported, do you think USB Basler connected through USB to ethernet converter could work?

from lima.

laurent-claustre avatar laurent-claustre commented on August 22, 2024

I don't know. I did test in the past an usb3 ACE camera, but the code was never been merged with mainstream. It will need some refactoring work to both work for GigE and USB.

from lima.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.