None |
// This code demonstrates how to test if a
// controller is connected to a CCD or IR
// array.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
if ( cController.IsDeviceCCD() )
cout << "We are using a CCD!" << endl;
else
cout << "We are using an IR array!" << endl;
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.