None |
// This code demonstrates how to instantiate a new CController
// object and print the number of available devices ( PCI boards ).
#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();
long dDevCount = cController.GetDeviceBindingCount();
cout << "Found " << dDevCount << " devices!" << endl;
// .... do something else here ....
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.