echo.cxx

00001 {
00002 #define I_AM_HOST
00003 #define I_AM_LINUX_HOST
00004 #define SCT_ROD
00005 #include "../../RodDaq/CommonWithDsp/primParams.h"
00006 
00007 // Variable definitions
00008 unsigned int myLength;
00009 unsigned int *myBody;
00010 
00011 // Send echo prim list
00012 unsigned long myEchoData[2] = {0xDEADF00D,0};
00013 // tapi.echo(0, 2, echoData);
00014 // tapi.awaitResponse(0);
00015 tapi.createDebugPrimList();
00016 // const int ECHO = 0;
00017 // const int R_ECHO = 100;
00018 tapi.addDebugPrimList(4 + 2, 1, ECHO, R_ECHO, echoData);
00019 tapi.sendDebugPrimList(0);
00020 // tapi.sendDebugSlavePrimList(0, 0, 1, 1);
00021 
00022 // First read outlist
00023 tapi.getResponse(0);
00024 tapi.status();
00025 }
00026 

Generated on Mon Feb 6 14:01:19 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6