Tool/software: Code Composer Studio
Sir/Madam,
I want to plot an expression (1+sin(theta))/(2+sin(theta)) with respect to time in CCS graph. Please help me
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.
Tool/software: Code Composer Studio
Sir/Madam,
I want to plot an expression (1+sin(theta))/(2+sin(theta)) with respect to time in CCS graph. Please help me
You can enter an expression in the Start Address field of the Graph tool. Please take a look at this page for more information:
http://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_debug-graphs.html
Madam,
Thanks for your reply. I am having another doubt related to this. When I am adding the sine look up table(value[512]) i.e., an array of 512 elements. I am getting first element in the array a garbage value.
value[512]={0.0123, 0.0245, 0.0368, 0.0491, 0.0613, 0.0736, 0.0858, 0.0980, 0.1102,....................-0.0491, -0.0368, -0.0245, -0.0123, -0.0000};// sine lookup table.
value1[index]= 1+value[index];
value1[index]= {-2.42987006e+27, 1.0245,1.0368,...................................................,0.975499988, 0.987699986, 1.00}; // (1+sin(wt))
But the expected value in the first element is value1[1]=1.0123
This mistake is repeating for value2[index]= 2+value[index]; // (2+sin(wt))
Please help me in solving the issue.