esrf-bliss / Lima-camera-basler

Lima basler plugin
lima.blissgarden.org
GNU General Public License v3.0
4 stars 26 forks source link

Difficulties with Lima when operating a Basler Scout scA640-70gm #37

Closed keale closed 7 months ago

keale commented 8 months ago

Dear all,

I have installed Tango 9.5 and Lima in an Ubuntu 20.04. VM with Mamba (lima-camera-basler 1.10.9 lima-camera-basler-tango 1.10.10 0 lima-core 1.9.15 lima-tango-server 1.9.20)

When I try to start a device server for Scout sc640, I get the error message:

(tango) alex@ubuntu2004:~$ LimaCCDs 1
basler camera_id: ip://192.168.50.223
[2024/01/12 14:31:57.133736] 7fd3888a4180     *Camera*Basler::BaslerInterface::Interface (/opt/conda/conda-bld/lima-camera-basler_1694769296685/work/src/BaslerInterface.cpp:41)-Always: force_video_mode=0
[2024/01/12 14:31:57.194067] 7fd3888a4180                 *Camera*Basler::Camera::getLatTimeRange (/opt/conda/conda-bld/lima-camera-basler_1694769296685/work/src/BaslerCamera.cpp:1037)-Error: Exception(Error): Node is not available. [thrown]
-------> Received a DevFailed exception: DevFailed[
DevError[
    desc = limacore.Exception: Hardware: getLatTimeRange(/opt/conda/conda-bld/lima-camera-basler_1694769296685/work/src/BaslerCamera.cpp, 1037): Error: Node is not available.

The Basler Device Server works fine with a Basler acA640-100gm in the same IP subnet.

Does anyone else have problems with Scout cameras? Pylon SDK seems to be V.6.3.


Addendum: The installation on a PC with Ubuntu 22.04. shows exactly the same behavior.

laurent-claustre commented 8 months ago

Hi Alexander, Could you tell us if the pylonviewer installed in your conda environment can see the camera and open it as well?

keale commented 8 months ago

Hi Laurent, Yes, I can execute the script bin/pylonviewer-with-logging, start pylonviewer Release 6.3.0.53157 and operate both cams.

A remark possibly apart from this issue: I have noticed that it is not possible to change the IP address with the Pylon IP Configurator newer than V5 on both Windows and Linux.

keale commented 7 months ago

Hello Laurent,

I'm sorry, but the problem is still there. Access to Scout camera still shows the same behavior, even under Windows with your bugfix from Lima-Camera-Basler Issue 36

(basler) C:\Users\AlexK>LimaCCDs 1
basler camera_id: uname://NFin_1
[2024/01/17 13:05:29.208498] 12d4e8b0ee0     *Camera*lima::Basler::Interface::Interface (\BaslerInterface.cpp:41)-Always: force_video_mode=0
[2024/01/17 13:05:29.246632] 12d4e8b0ee0                 *Camera*lima::Basler::Camera::getLatTimeRange (\BaslerCamera.cpp:1037)-Error: Exception(Error):  [thrown]
*********     Node is not available.
-------> Received a DevFailed exception: DevFailed[
DevError[
    desc = limacore.Exception: Hardware: lima::Basler::Camera::getLatTimeRange(C:\Mambaforge\conda-bld\lima-camera-basler_1698770569337\work\src\BaslerCamera.cpp, 1037): Error: Node is not available.
laurent-claustre commented 7 months ago

This is a new issue, we only use ACE model on our beamlines, but, I have just found a Scout model to test and got the same error as you, I gonna debug the issue now.

laurent-claustre commented 7 months ago

I move the issue to basler project.

laurent-claustre commented 7 months ago

I' m preparing a new package lima-camera-basler 1.10.11 which takes into account the Scout model for the frame rate management, seems to be due to the version of the firmware (vs. Ace model).

keale commented 7 months ago

Do you know, if newer FW as V3.2-2 (PylonViewer shows: 103902;U;scA640-70gm;V3.2-2) is available? Perhaps it is easier to update the camera?

laurent-claustre commented 7 months ago

The new package lima-camera-basler 1.10.11 is available on anaconda esrf-bcu channel. Better to recreate an environment from scratch to get a newer installation. you should get lima-core 1.9.23 as well.

keale commented 7 months ago

It works, you are great! Thank You very much!

laurent-claustre commented 7 months ago

your welcome