None |
// This code demonstrates how to instantiate a new CController
// object, open a driver connection to the controller, and
// then close it.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
try {
// Find all ARC PCI boards in the system.
// This MUST be called first!
cController.GetDeviceBindings();
cController.OpenDriver( 0 );
// .... do something here ....
// Close the driver connection when program
// is finished.
cController.CloseDriver();
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.