Hi,
Hi to load input and output data to show them in a plot (i.e. XY plot) while the device is running?
I'm using CCSv4.
Thank you in advance,
Pietro
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.
Hi,
Hi to load input and output data to show them in a plot (i.e. XY plot) while the device is running?
I'm using CCSv4.
Thank you in advance,
Pietro
Hi Pietro
In the Digital Power Library from TI there is a Four Channel Data Logger. See page 69 in controlSUITE\libs\app_libs\digital_power\f2802x_v2.0\Doc\DPLib_v2.pdf.
Another way is to do this with the debugger. See Help->Help Contents and search for "Single Time". And see http://processors.wiki.ti.com/index.php/GSG:Debugging_projects#Advanced_Data_Visualization_Tools.
Good luck
Matt
Okay I understand. Sadly I have no experience with that.
But perhaps if you can stop your system you can copy your data to excel.
Pietro,
I don't think CCS does X-Y plots. I just looked in CCSv5.3.0. Funny but I thought CCS used to do these plots. I must be confusing with some other tool
I will move your post to the CCS forum. The CCS people can comment. At least, they can log X-Y graphs as a potential future enhancement.
- David
David - you are probably remembering CCSv3.x (and earlier). We had it in there but removed support starting in v4. We found that it wasn't very popular. Of course if there is demand, we can look to adding it back in.
Thanks
ki
Hi Pietro,
Can you let us know how your target program xy data structure is defined?
thanks,
Patrick
We've just purchased CCS5 due to the fact that it should support X-Y plotting: "release note SDSCM00047049 IDE Support X-Y graphing"
Before we've worked with CCS3.3.
Unfortunately I can't find the X-Y-graph in CCS (we currently run CCS 5.5.0.00077).
We urgently need this feature for plotting data it the complex area (real vs. imaginary values).
Can you point out where to find the X-Y graph? I've already searched a lot and couldn't find anything appart from the release note and that other users are missing this feature too.
Thanks in advance.
Richard
Hi Richard,
This CQ (SDSCM00047049) is referring to the GUI Composer x-y graph. If this is what you are looking for, you can open GUI Composer from the View | GUI Composer menu.
To find out more information about GUI Composer, see this wiki page.
http://processors.wiki.ti.com/index.php/Category:Gui_Composer
Regards,
Patrick
Hi Patrick,
thank you for your feedback.
I just tried the xy- graph - I suppose it is the scatter graph within GUI composer - right?
Unfortunately I couldn't get it work as expected. There seems to be no documentation for this graph yet.
Let me state my task: I have an array with measurement values let's call it
_iq measurement[600];
this array is composed of interleaving real and imaginary values therefore giving a total of 300 points to be displayed within the complex area.
Q-Value is set to be Q24 on a TMS320F2811. This array is updated cyclically. What I want is this array to be displayed also cyclically. Till now, we have used the constellation diagram of CCS3.3 with the following settings:
Interleaved Data Sources: yes
Start Adress: &measurement
Acquisition buffer size: 600
Constellation points: 300
DSP Data Type: 32-bit signed integer
Q-Value: 24
....
Unfortunately CCS3.3 doesn't work no longer properly with the last updates on our windows machines. That's the reason, why we want to change to CCS5.5 but this very important graph does not yet work as it used to.
Do have advice for us?
Thank's in advance!
Regard
Richard
Hi Richard,
There are couple ways showing target array in this widget. If you can change your target code, you simply store the buffer into two arrays and then bind these two arrays to the graph.
If you don't want to modify target code, then the solution is a bit more work. You will need to make use of the advanced GUI Composer feature. And here are the steps, I'll try to describe it here.
function onMyPropertyChanged(propertyName, newValue, oldValue) {
var series0_X = [];
var series0_Y = [];
for (var i = 0; i < newValue.length-1; i = i+2) {
series0_X[i/2] = newValue[i];
series0_Y[i/2] = newValue[i+1];
}
//set value to a widget
dijit.byId('graph').set('series0_X', series0_X);
dijit.byId('graph').set('series0_Y', series0_Y);
}
6. This step is to modify the dataType manully due to the UI hasn't expose the array dataType (step 3b). Now open the text editor and edit the apps.json file for the project that you are working with. This file should be located in <workspace>/.GUIComposer/<project>/app.json. Change the "option": {"dataType": "Long"} to Array. Save the file. Note you might need to change this option again due to the file is over written by other updates you make within the GUI.
Let me know if this work for you or not.
Regards,
Patrick