Friday, February 23rd 2018, 3:30am 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.

taquionbcn

Beginner

Date of registration: Nov 28th 2017

Posts: 4

1

Wednesday, December 13th 2017, 6:23pm

[SOLVED] OZONE load variables when loading project

Hi,

i would like to add automatic variables to the Watched Data, so every time I open a project I don't have to look for them all over the sources.

Thanks!

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 716

2

Thursday, December 14th 2017, 9:17am

Hi,

Thank you for your inquiry.
This is already possible.
It is explained in detail in the user manual in the section "Window Actions".
Alternatively you can simply do a manual ad to watch as usual in your running session.
Then you should see the necessary commands printed in the Console window.

In this case it would be:
Window.Add ("Watched Data", "Var");
Window.Show ("Watched Data");

which you can add in the Ozone project .jdebug file in the function OnProjectLoad()

Best regards,
Nino

taquionbcn

Beginner

Date of registration: Nov 28th 2017

Posts: 4

3

Thursday, December 14th 2017, 10:02am

Hi Nino,

thanks,
just now I was going to answer myself, I have discovered that the console prints the instructions of the actions done.

and the .jdebug file is C or similar to C and easy editable.

Thanks

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 716

4

Thursday, December 14th 2017, 11:16am

Hi,

Great to hear that everything is working as expected now.
This thread will be closed and marked as solved now.

Best regards,
Nino