SGP API: SgCaptureImage fails saying "The camera is busy"

I have a script that uses the SGP API to capture an image. If I run the script from within SGP as a pre-event script, then the SgCaptureImage API call fails saying the camera is busy (“The camera is busy!”), even though the camera is not actually busy – the script is running before the event so the camera is definitely not doing anything.

Is this something that could be fixed so I can run my script as a pre-event script? (Actually, I’d prefer to run the script before every exposure and not as a pre-event script, but that is a separate issue.)


Possibly… right now the Camera API is for external tools and cannot be run during a sequence. The sequence locks the camera and declares it has exclusive use.