Controller Commands
Syntax
TDL
RDM
WRM
... etc ...
See Remarks Section
Type
24-bit integer
Required Headers
CController.h
Remarks
Click here for the full list of controller commands and their descriptions.
Example
        // Demonstrates how to send 500 TDL's to
        // a controller timing board.

        #include <iostream.h>
        #include "CController.h"
        using namespace std;
        using namespace arc;

        CController cController;

        try {
            // .... open driver, initialize, etc ....

            for ( int i=0; i<500; i++ )
            {
                lReply = cController.Command( TIM_ID, TDL, i );

                if ( lReply != 0x112233 )
                    throw std::runtime_error( "TDL failed!" );
            }

            // .... do something else ....
        }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.