Hi,
Things are working well for me with ASIStartVideoCapture() active, running ASIGetVideoData() in a capture thread as suggested in the SDK doc.
While this is happening, I find I am able to update the camera's gain and exposure time using ASISetControlValue(). Two questions:
- Is this supported?
- If yes, when I change the gain or exp time setting, is there a deterministic rule as to how many video data frames I need to consume before the setting change is reflected?
+1 to the idea someone else raised for ASIGetVideoDataEx() that returns settings corresponding to the captured frame.
Context: for calibration purposes, I want to run a sweep of gain/exp time settings, capturing an image for each setting combo. I could use single-image mode (ASIStartExposure() etc.) to obtain an image after each setting change, but video captures are much faster and I'm using video anyway in the rest of my application.
Thanks!
-Steven
ASI120mm mini