GetCRPixelCount
Returns the cumulative pixel count as when doing continuous readout. This method is used by user applications when reading super large images (greater than 4K x 4K). This value increases across all frames being readout.
Syntax
long GetCRPixelCount();
Parameters
None
Returns
long - The current total pixel count.
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
None
Example
        // This code demonstrates how to read the current
        // pixel count during image readout.

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

        CController cController;

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

        try {
            while ( cController.IsReadout() )
            {
                cout << "Pixel Count: "
                     << cController.GetCRPixelCount()
                     << endl;
            }
         }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.