GetCCParams
Returns the available controller configuration parameters.
Syntax
long GetCCParams();
Parameters
None
Returns
long - The available controller configuration parameters.
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
The parameter bit definitions are specified in CController.h. See IsCCParamSupported().
Example
        // This code demonstrates how to read and use the
        // controller configuration parameters.

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

        CController cController;

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

        try {
            long lCCParams = cController.GetCCParams();
 
            if ( ( lCCParams & BINNING ) > 0 )
                cout << "Binning supported!" << endl;

            if ( ( lCCParams & SUBARRAY ) > 0 )
                cout << "SubArray supported!" << endl;

            if ( ( lCCParams & SPLIT_SERIAL ) > 0 )
                cout << "Split serial readout supported!" << endl;

            // .... etc ....
        }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.