Changing the Default View of Variables and Constants in LabWindows/CVI TooltipsPrimary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 7.1 Primary Software Fixed Version: N/A Secondary Software: LabWindows/CVI Development Systems>>Base Package
Problem: How do I change the default way variables and constants are displayed in tooltips when I hover over them? Solution: There are various ways you can display integers, characters and longs in the Variables and Watch Windows. For instance, if you want to set the default display for an integer to hexadecimal, you can add an integer variable to your Watch Window, right click on the variable in your Watch Window, select Format » Preferences, and in the first ring control, select Hexadecimal. This will set the default display format for all characters, integers and longs to hexadecimal. For instance, let's take the example: TestVariable = 12345; Imagine that this declaration was included in a project. If you were to hover over the 12345 constant when the application was running, you would see the hex representation of 12345 displayed in the tooltip. On the other hand, if you were to hover over TestVariable, you would see the integer representation of its value. The tooltips that appear when you hover over a variable is not tied to the display preference set in the Watch Window. Instead, the display setting is read from the Variables Window. In order to change the default view of variables in CVI, navigate to the Preferences dialog in the Variables Window. If you were to set the default view to hexadecimal you would now see the hexadecimal value of TestVariable when you hovered over it during execution. Related Links: How to Use ToolTip Functionality with the CVI Operator Interface Attachments:
Report Date: 07/05/2005 Last Updated: 10/24/2005 Document ID: 3N4L4UK7 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
