IsBinningSet
Tests if a controller is currently set to operate in binning mode.
Syntax
bool IsBinningSet();
Parameters
None
Returns
bool - 'true' if the controller is set to operate in binning mode. Returns 'false' otherwise.
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
None
Example
        // This code demonstrates how to test if a
        // controller is set for binning.

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

        CController cController;

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

        try {
            if ( cController.IsBinningSet() )
                cout << "Binning mode: SET!" << endl;
            else
                cout << "Binning mode: NOT SET!" << endl;
        }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.