long rows |
The new image row dimension to set on the controller. |
long cols |
The new image column dimension to set on the controller. |
// This code demonstrates how to set and then
// unset the controller to use 2x2 binning.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
// Set 2x2 binning, image size will be 256x300
cController.SetBinning( 512, 600, 2, 2 );
// .... take some images or do something
// Now unset the binning
cController.UnsetBinning( 512, 600 );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.