This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Standalone and RTDX configuration

hi

i am using tms320c6713 and i have implemented RTDX on it for communication with vc/vb

But i want to use it in standalone mode. but i have to do everytime following configuration to run it.

 

tools>rtdx>configuration control 

and in configure

1.i set continuous mode

2. set buffer size 4096 and number of buffer 4

 

I am also using rtdx_buf.c. Can i do following initialization as i mentioned above in code so that i dont have to manually set these options . and i can use kit in standalone mode.

Given below is rtdx_buf.c

 

#include <RTDX_access.h>        /* RTDX_CODE, RTDX_DATA                 */

#ifndef BUFRSZ

#define BUFRSZ 1024

#endif

#if RTDX_USE_DATA_SECTION

#pragma DATA_SECTION(RTDX_Buffer,".rtdx_data")

#pragma DATA_SECTION(RTDX_Buffer_Start,".rtdx_data")

#pragma DATA_SECTION(RTDX_Buffer_End,".rtdx_data")

#endif

int RTDX_DATA RTDX_Buffer[BUFRSZ];

const void RTDX_DATA *RTDX_Buffer_Start = &RTDX_Buffer[0];

const void RTDX_DATA *RTDX_Buffer_End  = &RTDX_Buffer[BUFRSZ-1];