Keil Logo

µVISION: CHANGING BASE OF VARIABLES IN WATCH WINDOW


Information in this article applies to:

  • C166 Version 4.02

QUESTION

How do I change the base of variables in the Watch Window? When I add them using the menu, they are always displayed in Hex.

ANSWER

The only way to achieve this is to use the WATCHSET command in the Command Window. For example:

WS 1, \measure\main\idx, 10

adds the variable idx in the function main in the measure example to watch window 1, and displays it in base 10. Currently only bases 10 and 16 are supported.

MORE INFORMATION

  • For more information on the WATCHSET command, refer to page 260 in the dScope for Windows manual (01.97).

Last Reviewed: Friday, January 30, 2015


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.