None |
// This code demonstrates how to use GetPCIStatus() to
// determine if the PCI board is expecting the controller
// to be 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 = cController.GetPCIStatus();
cout << "PCI board thinks controller is in readout: "
<< ( lStatus == READOUT ? "true" : "false" )
<< endl;
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.