Lima start up device

I have been following the how-to guide in Lima to initialize both the simulator and a USB Basler ace2 device. I cannot acquire a frame in either device. I have initialized the LimaCCDs device for each and a simulator and a basler device. I have run in to several crashes and errors. The most common is the following when monitoring the LimaCCDs device:

*Common*MemUtils::GetDefMaxNbBuffers (common/src/MemUtils.cpp:114)-Error: Invalid FrameDim: <0x1x1-Bpp8>

I am also receiving the following when first attempting to a acquire a frame in both the simulator and basler device:

*Control*Control::Control::readBlock (control/src/CtControl.cpp:915)-Error: Exception(Error): Frame(s) not available yet [thrown]

I am using all default values for properties and am receiving these errors in both Windows and Ubuntu 24.04. I have installed Lima through mamba.

I’m not sure where to begin debugging given the number of different crashes that keep occurring. Is there a more comprehensive Hello World for Lima or some troubleshooting tips?
Using Tango 10.0.2

Thanks

Hello and welcome on this forum,
First, I would say that this issue would get better answer on the Lima mailing list (lima@esrf.fr).

I guess you are refering to this tutorial on how to setup a LimaCCDs device server.

Did you build lima yourself or got Conda package from the esrf-bcu channel? Which version did you use?

Does the Balser camera works properly from Pylon Viewer?

I have never seen this FrameDim error (with such invalid frame dimension).

The other error means that you try to get a frame with a given idx that has not been acquired yet.

Could you dump the Jive configuration of you devices (simulator and basler) and attach it here?

I have installed everything from conda packages using the tutorial. I attempted to build from source, but the recent switch to CMake 4 broke quite a few dependency loads in the subdirectories. The only difference is that I am using the full mamba version 2.1.1 from miniforge. However, I have tries using miniconda →mamba and have received the same result. The error is thrown when reading the attribute buffer_max_number

These are the following package versions I have for Lima

 lima-camera-basler           1.11.2              py310h2e52968_0        esrf-bcu
 lima-camera-basler-tango     1.11.2              py_0                   esrf-bcu
 lima-camera-simulator        1.10.2              py310h2e52968_0        esrf-bcu
 lima-camera-simulator-tango  1.10.2              py_0                   esrf-bcu
 lima-core                    1.10.4              py310h2e52968_0        esrf-bcu
 lima-tango-server            1.11.0              py_0                   esrf-bcu

The Basler works perfectly using pypylon and in pylon viewer.

I obtain the same errors running the simulator camera. I am using default properties for both devices. Only the LimaCameraType is set.

# --- demo/limaccds/sim properties

demo/limaccds/sim->LimaCameraType: Simulator

and in the simulator device:

# --- demo/sim/1 properties

demo/sim/1->fill_type: GAUSS
demo/sim/1->mode: GENERATOR
demo/sim/1->rotation_axis: STATIC

# --- demo/sim/1 attribute properties

If I can at least get the simulator camera to work that would be a good way to start.