LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Display a meter or gauge in hex format

I have a meter in cvi 8.1 and would like to display the readings in hex format. Is there a way to do this? The meter, does not appear to have that option.
0 Kudos
Message 1 of 3
(3,543 Views)

Hi Steve, if you select 'int' as the data type for the meter control and go to "Format and precision" dialogue you will find the option to display in hex format, as well as decimal, octal and binary. These options are not present when you select double data type, which is the default for the meter control. Unfortunately the meter display does not have '0x' prefix: instead, you can have a little 'x' in the numeric indicator if you check 'show radix' checkbox in "Show/Hide parts..." dialogue.

 

I am attaching a little image displaying all this.

 

Message Edited by Roberto Bozzolo on 08-12-2009 12:22 PM


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(3,527 Views)
I think I see what I was doing wrong. I was trying to set the display to hex before changing the format to int.
0 Kudos
Message 3 of 3
(3,513 Views)