bool reset |
'true' to reset the controller; false otherwise. |
bool tdl |
'true' to send TDLs to the PCI board and any board whose
.lod file parameter is not NULL. |
bool power |
'true' to power on the controller; false otherwise. |
long rows |
The image row dimension (in pixels). |
long cols |
The image column dimension (in pixels). |
const char * timFile |
The timing board DSP file to load (.lod file). |
const char * utilFile |
[optional] The utility board DSP file to load (.lod file).
Default: NULL |
const char * pciFile |
[optional] The PCI board DSP file to load (.lod file).
Default: NULL |
// This code demonstrates how to perform a typical
// controller setup.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
cController.SetupController( true, true, true, 512, 600, "C:\\tim.lod" );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.