None |
// This code demonstrates how to read and use the
// controller configuration parameters.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
long lCCParams = cController.GetCCParams();
if ( ( lCCParams & BINNING ) > 0 )
cout << "Binning supported!" << endl;
if ( ( lCCParams & SUBARRAY ) > 0 )
cout << "SubArray supported!" << endl;
if ( ( lCCParams & SPLIT_SERIAL ) > 0 )
cout << "Split serial readout supported!" << endl;
// .... etc ....
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.