GetPixelCount
Returns the current pixel count during image readout. Can be called after the start of an exposure to monitor the pixel count and determine the end of readout.
Syntax
long GetPixelCount();
Parameters
None
Returns
long - The current 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.GetPixelCount()
                     << endl;
            }
         }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.