IsCCParamSupported
Checks if the specified configuration parameter is available on a controller.
Syntax
bool IsCCParamSupported( param );
Parameters
long param
The controller parameter to check. See CController.h for a list of bit definitions.
Returns
bool - 'true' if the specified controller parameter is an available option on the controller; 'false' otherwise.
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
See CController.h for the list of available controller parameters. Exceptions can be caught using a try/catch block.
Example
        // IsCCParamSupported() example

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

        CController cController;

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

        try {
            if ( cController.IsCCParamSupported( BINNING ) )
                cout << "Binning supported!" << endl;

            if ( cController.IsCCParamSupported( SUBARRAY ) )
                cout << "SubArray supported!" << endl;

            if ( cController.IsCCParamSupported( SPLIT_SERIAL ) )
                cout << "Split serial readout supported!" << endl;

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

© Astronomical Research Cameras, Inc.