CController
CController class constructor. Creates a new instance of the CController class. This class provides control of the PCI board, camera controller, and kernel image buffer.
Syntax
CController();
Parameters
None
Returns
None
Required Headers
CController.h
Namespace
arc
Throws
None
Remarks
None
Example
        // This code demonstrates how to instantiate a new CController
        // object, open a driver connection to the controller, and
        // then close it.

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

        CController cController;

        try {
            // Find all ARC PCI boards in the system.
            // This MUST be called first!
            cController.GetDeviceBindings();

            cController.OpenDriver( 0 );

            // .... do something here ....
 
            // Close the driver connection when program
            // is finished.
            cController.CloseDriver();
        }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.