I own an ASI 120MM-S camera for several years and am very happy with it. I usually manage the camera with SharpCap or even the new ASICap, and then perform image processing on offline files. In order to be able to perform online treatments of my own, I set out to record the images myself using the SDK (latest V1.16 version). For the software interface I was using the ‘’ASIcamera2.dll’’ library and its header ‘’ASIcamera2.h’’ , on Windows 10. No problem at first glance, I get a FPS of 60/sec and everything looks right in the acquisition.
Problems come when I try to change the configuration with the ‘’ASIGet/SetControlValue’’ routines: in 32 bits the routines return ASI_INVALID_CONTROL_TYPE. In 64 bits, ASIGetControlValue returns the same error, but ASISetControlValue returns ASI_SUCCESS and seems to correctly perform some settings (checked with ASIcap). I thought of an error on my part (incorrect stack frame), but the other routines (especially ASiGet/SetROI) should also give errors but work perfectly.
Does anyone have an idea to help me? Are the DLL or its header up to date? I saw that there was a different DLL in the ASICap package.
Thanks.