Wednesday, February 21st 2018, 10:23am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

apullin

Beginner

Date of registration: Mar 31st 2010

Posts: 17

1

Wednesday, January 24th 2018, 6:53pm

Ozone: data graph for X-Y data, not time vs value?

So, the Data Graph feature in Ozone is great. I used it extensively to verify some LED and display effects that went into a product, ensuring that the fades and holds were all correct for time and value.

BUT: How about the ability to graph an array of data on an X-Y graph from an array? With X being the ordinal index and Y being the data. That would be GREAT.
Some IDE's (CCS and some Eclipse based ones) support that.

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 709

2

Thursday, January 25th 2018, 11:03am

Hello,

Thank you for your inquiry.
We will put this as a feature request on our ToDo list, but no promises on when and how it might be implemented.
For now if you are looking for a way to analyze the data after the debug session you can export the graph data by right clicking on the graph and selecting Export.
That way you can export the collected data in CSV format and use it in post-analysis in e.g. Excel.
Does that help with your use case?

Best regards,
Nino

apullin

Beginner

Date of registration: Mar 31st 2010

Posts: 17

3

Thursday, January 25th 2018, 7:38pm

That does not help with my use case, unfortunately, since I want to pause the debugger at some breakpoint and then look at the value of a 4096-element array in memory.
Of course, I can do that in the Watch window, but it's still not a graph, and unfortunately, there does not even appear to be an "Export" for the Watch values. Consider that another feature request.

For now, I am just printing out the array and copy-pasting it into a CSV file, and plotting in Matlab.

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 709

4

Friday, January 26th 2018, 3:11pm

Hello,

For this case we offer advanced memory window export functions.
So you navigate to the start of the array in the memory window by right clicking and selecting GoTo. There you will also find a quick description on how to select a memory range.
To export the selected memory range richt click and select Copy Special, there you will find different formats to copy into your clipboard which then can be saved in any fileformat you need.

Does that help with your setup?

Best regards,
Nino

apullin

Beginner

Date of registration: Mar 31st 2010

Posts: 17

5

Saturday, February 3rd 2018, 12:53am

That is an OK solution. It does work, but it's a bit roundabout, so I have ended up just using the RTT output and copying from the console (JLinkRTTClient) anyway, but in already formatted output to paste into Matlab.