Rashed replied to the topic 'INDI Driver for SVBONY cameras' in the forum. 4 years ago

Sarwar wrote: Gain control works just fine.. probably just needs a few millisecond of sleep. I say so because it happens only when the camera is connected for the first time, i.e. from a power cycle or powering it up for the first time.


confirmed just now by making the following change:
diff --git a/indi-sv305/sv305_ccd.cpp b/indi-sv305/sv305_ccd.cpp
index 457db530..fd51d4d9 100644
--- a/indi-sv305/sv305_ccd.cpp
+++ b/indi-sv305/sv305_ccd.cpp
@@ -340,6 +340,7 @@ bool Sv305CCD::Connect()
         pthread_mutex_unlock(&cameraID_mutex);
         return false;
     }
+    usleep(0.1 * 1e6);
 
     // get camera properties
     status = SVBGetCameraProperty(cameraID, &cameraProperty);

@dlwmacgregor: I think your is an unrelated issue, I have not come across it, unfortunately. I am guessing you tried a power cycling both the camera and your pi - or which every system you are using? can you change other parameters?

the but i think we were discussing relates to gain failing to be initialized following a cold start/power up.

the quote of the

Read More...