GetFrameCount
Returns the current frame count as read from the PCI board. The camera MUST be set for continuous readout for this to work.
Syntax
long GetFrameCount();
Parameters
None
Returns
long - The current total frame 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 << "Frame Count: "
                     << cController.GetFrameCount()
                     << endl;
            }
         }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.