SetPCIByteSwapping
Turns PCI hardware byte-swapping 'on' if the operating system is solaris. Compiles to an empty function on all other operating systems.
Syntax
void SetPCIByteSwapping();
Parameters
None
Returns
None
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
This method should be called before the upload of any DSP ( .lod ) timing file. This will ensure that the byte-swapping mode is set before it's needed.
Example
        #include <iostream.h>
        #include "CController.h"
        using namespace std;
        using namespace arc;

        CController cController;

        try {
            cController.SetPCIByteSwapping();
         }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.