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:
Code:
                    Camera.LinkEnabled = false;
                    Util.CameraConnected = false;
Then I do my SharpCap stuff, sleep the ACP, then do:

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

Max

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