None |
// This code demonstrates how to use GetHstr() to
// determine if the controller is currently performing
// an image readout.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
long lStatus = ( GetHstr() & HTF_BITS ) >> 3;
cout << "Controller is in readout: "
<< ( lStatus == READOUT ? true : false )
<< endl;
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.