IsSyntheticImageMode
Tests if a controller is set to operate in synthetic image mode. A synthetic image has the following pattern: 0, 1, 2, ..., 65535, 0, 1, 2, ..., 65353, etc.
Syntax
bool IsSyntheticImageMode();
Parameters
None
Returns
bool - 'true' if the controller is operating in synthetic image mode. Returns 'false' otherwise.
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.