PDB wrote: Thank you pawel. I quickly compiled it on my desktop intel, and tested without problems. (in highspeed mode just a bit faster than firecaptur) Will do the test on an RPI4 later today.
Just one question: is there a possibility to set the camera to 16 bit? That is on my desktop machine I see the biggest problems.
Paul
The library supports 16-bit resolution. I added the "Format" parameter to the programs.
On RPi in 16-bit mode, frames are lost a bit.
I need to do some size adjustments for buffers and transfers to get reliable communication.
I prepared a "16-bit" branch.
Branch "16-bit" is not good for 8-bit mode.
As for me, it looks better:
./example/simply/AsiCameraSimply Exposure 10000 HighSpeedMode 1 Gain 100 Format 16bit
[ASIOpenCamera]: grab CameraID 0
[CameraBoost]: created
[__wrap_libusb_open]: grab libusb_device_handle 0x1f9d338
[__wrap__ZN11CCameraBase12InitVariableEv]: grab CCameraBase 0x1f9f670
Set 'Exposure' to 10000
Set 'HighSpeedMode' to 1
Set 'Gain' to 100
Set 'Format' to 16bit
...
timeframe: 1000ms, status: 11
timeframe: 148ms, status: 0
timeframe: 51ms, status: 0
...
timeframe: 33ms, status: 0
timeframe: 34ms, status: 0
timeframe: 33ms, status: 0
timeframe: 33ms, status: 0
timeframe: 33ms, status: 0
timeframe: 34ms, status: 0
...
[releaseAsyncXfer]: catched
For the ASI178MM camera, the maximum frame rate is reached.