industrialNETworXnetx

| 24.05.2007 | 12:04 | 5 replies

Variable value in HiTop

Is it possible for example to send a value of the variable to the HiTop and the netx already running?

I read something about Hiscript. Is that the solution? But I don´t really understand what HISCRIPT done.

Florian

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 24.05.2007 | 12:31

Hi poschdi,

I am not sure, if I understand your request correct. So I will replay, what I assume.

You load a project into your target and you start the project. (CPU in run)
Now you need to change a value from a variable ?

As I know is this with a standard JTAG Debugger not possible, because you will loose the real time capability.

The only way, to change a value is, to stop the project, assign the variable into the watch window and change the value. Now you can start the project again by clicking on the run button.

The HiSCRIPT is very useful to change register values or to display register or memory areas.

| 24.05.2007 | 12:36

I don´t want to change the value. I only watch it, but without to stop the debug mode.

For example to show the return value´s of same functions.

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 24.05.2007 | 12:39

The value is not updated during the runtime :(
When you are interested in the return value, you should set a breakpoint on the instruction and do one step over it - now should the value in the watch window are updated.

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 24.05.2007 | 12:53

Hi,

I found a solution ! :D

- Assign your needed variable into the watch window.
- Open the project settings (Project -> Settings)
- Click in the tree view on the entry "Update Settings"
- mark the entry "activate"
- set the cyclic time of 10

Try it again ;-)

| 24.05.2007 | 12:55

Ok, then I had to live with that ;)

Login