GetPCIImageBufferAddress
Returns the kernel image buffer physical address as set on the PCI board. This can be useful to verify that the PCI board is writting image data to a valid location.
Syntax
long GetPCIImageBufferAddress();
Parameters
None
Returns
long - The kernel image buffer physical address.
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
None
Example
        // 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.