LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display hex and decimal

Hi everybody,

 

I'm getting real-time data and I would like to know if it is possible to change the display to show the results in hex format and decimal, using the same display. I mean, use a push botton to change between them.

 

Regards

 

Felipe
0 Kudos
Message 1 of 14
(3,688 Views)
If this is a numeric indicator and an integer type, right click on the indicator, select Create>Property Node>Display Format>Format. After you create it, right click on it and select Change to Write. The context help describes the values to set a specific format.
Message 2 of 14
(3,682 Views)

You could make one of each, stack one on each other, then use a property node to select which of the two indicators is visible. (see attached example)

Cory K
0 Kudos
Message 3 of 14
(3,679 Views)
Wait a minute, I just read Dennis's post. That looks more efficient, I would go that route.
Cory K
0 Kudos
Message 4 of 14
(3,678 Views)

You can also have both in one indicator.

 

For an example, have a look at this old nugget. The advantage is that you don't need any extra controls and code (such as buttons, property nodes, and associated logic). 😄

Message Edited by altenbach on 07-20-2009 10:49 AM
Message 5 of 14
(3,665 Views)

Thanks everybody for helping me. It's going to help me a lot.

Just one more question. As I told you, I'm getting real time data, so when I press a stop button I would like to create (or use) a slide bar to move forward or backward to read my data in a certain time. Can someone help me on that?

 

Regards

 

Felipe

0 Kudos
Message 6 of 14
(3,640 Views)

Is your data displayed on a Waveform 'Chart' or 'Graph'?
If it is in a chart, you can right click the chart and go to:
Visible Items >> Scrollbar

 

Then you can scroll to show previous data.

Cory K
0 Kudos
Message 7 of 14
(3,621 Views)
No, what I have is a display that shows me an array of decimal numbers.
0 Kudos
Message 8 of 14
(3,616 Views)
Then use a chart so that the user can have a time reference for the values, or expand your array indicator so that more than one element is visible, then right-click on your array indicator and select "Visible Items -> Horizontal Scrollbar" or "Visible Items -> Vertical Scrollbar", depending on which way you expanded the array. The latter will simply show the numbers without any kind of time reference.
Message 9 of 14
(3,602 Views)

My system is attached. What I really want to do is to use something like scroll bar to move check what is going on in my system when I pressed stop button. Just to explain my system: I created a file and the random numbers are my "data" that come from arcnet. I would like that my displays could " store all the data and just with a kind of scroll bar or something like that I could see all the data were showed in the display.

 

 

Regards

 

Felipe

0 Kudos
Message 10 of 14
(3,597 Views)