SetOpenShutter
Sets whether or not the shutter will open during an exposure.
Syntax
void SetOpenShutter( shouldOpen );
Parameters
bool shouldOpen
Set to 'true' to open the shutter during an exposure. Set to 'false' to keep the shutter closed during an exposure ( dark frame ).
Returns
None
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
None
Example
        // This code demonstrates how to set the
        // controller to take a dark image, then
        // a light frame.

        #include <iostream.h>
        #include "CController.h"
        using namespace std;
        using namespace arc;

        CController cController;

        // .... open driver, initialize, etc ....

        try {
            cController.SetOpenShutter( false );

            // Take a 0.5 sec dark image
            cController.Command( TIM_ID, SEX, 500 );

            // .... handle the readout, image processing
            
            cController.SetOpenShutter( true );

            // Take a 10.5 sec light image
            cController.Command( TIM_ID, SEX, 10500 );

            // .... handle the readout, image processing
       }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.