SetSyntheticImageMode
Sets a controller to operate in synthetic image mode. A synthetic image has the following pattern: 0, 1, 2, ..., 65535, 0, 1, 2, ..., 65353, etc.
Syntax
void SetSyntheticImageMode( mode );
Parameters
bool mode
Set to 'true' to operate the controller in synthetic image mode. Set to 'false' for normal mode.
Returns
None
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
The image will have the following pattern:

Example
        // This code demonstrates how to the controller
        // to operate in synthetic image mode.

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

        CController cController;

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

        try {
            cController.SetSyntheticImageMode( true );

            if ( cController.IsSyntheticImageMode() )
                cout << "Controller set to synthetic image mode!" << endl;

            // .... take some synthetic images

            // Return to normal operations
            cController.SetSyntheticImageMode( false );
        }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.