Dear All,

I am writing a custom script based on AcquireImages.js that would, once target starts, disconnect MaximDL from the imaging camera and trigger SharpCap (another imaging software) to connect, launch a video capture, disconnect, and then connect MaximDL back and continue with taking a single exposure. Everything works well except that when I re-connect the camera to MaximDL with ACP, it takes an exposure successfully and then complains:

**Imaging error: Auto Download Mode Active

And aborts the run. I guess there should be something set to disable this mode in MaximDL. Could anyone help me with that?

Basically, to disconnect I am doing:
                    Camera.LinkEnabled = false;
                    Util.CameraConnected = false;
Then I do my SharpCap stuff, sleep the ACP, then do:

                            Util.CameraConnected = true;
                            Camera.LinkEnabled = true;
Thank you very much in advance.


P.S. Solved with Camera.AutoDownload = false; a few minutes after this post. I swear I've spent the whole day yesterday.