DSP Memory Id Constants
Syntax
X_MEM
Y_MEM
P_MEM
R_MEM
Type
24-bit integer
Required Headers
CController.h
Remarks
Integer constants that correspond to DSP memory spaces. Used exclusively with Read ( 'RDM' ) and Write ( 'WRM' ) memory commands.

DSP MEMORY SPACE DESCRIPTION
X_MEM DSP X memory space
Y_MEM DSP Y memory space
P_MEM DSP program memory space
R_MEM DSP ROM memory space
Example
        // Demonstrates how to write the value 0x55
        // to address 0x1 in the DSP X memory space.
        // This is sometimes written as X:1

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

        CController cController;

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

            lReply = cController.Command( TIM_ID, WRM, ( X_MEM | 0x1 ), 0x55 );
            cController.CheckReply( lReply );

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

© Astronomical Research Cameras, Inc.