None |
// This code demonstrates how to use GetPCIImageBufferAddress()
// to print out the image buffer physical address.
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
long lPhysAddr = cController.GetPCIImageBufferAddress();
cout << "Image Buffer Physical Address: 0x"
<< hex << lPhysAddr << endl;
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.