LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with showing unit-label

Hi All,

i just have a problem with controls that have two displays (like
slider). I need the digital display with an unit-label. But when I
enable showing the label it appears two times and I have no chance to
disable one. Is there a methode that I can reach my target?

bye
Henrik
0 Kudos
Message 1 of 3
(2,490 Views)
Henrik Skupin wrote:

> i just have a problem with controls that have two displays (like
> slider). I need the digital display with an unit-label. But when I
> enable showing the label it appears two times and I have no chance to
> disable one. Is there a methode that I can reach my target?

Others may have a more elegant way of getting around this, but one quick
workaround is to edit the control to hide the unit label that you don't
want to see.

Let's say you want to hide the unit label next to the slider part of the
control: simply select the control, do Edit >> Edit Control, move the
offending unit label over top of the digital display, then select Move to
Back from the Reorder menu.

Regards,
John Lum
National Instruments
0 Kudos
Message 2 of 3
(2,490 Views)
There is a way but it rather looks like a bug in LabVIEW...

The object must be a control and the VI must be in Run Mode or running:
Select the text in the unit label of the digital display and delete it.

It can generate insane object errors if you manipulate the object further,
thus it is safer just to hide the label.

Jean-Pierre Drolet


John Lum a écrit dans le message :
392B1241.D431580@alum.mit.edu...
> Henrik Skupin wrote:
>
> > i just have a problem with controls that have two displays (like
> > slider). I need the digital display with an unit-label. But when I
> > enable showing the label it appears two times and I have no chance to
> > disable one. Is there a methode that I can reach my target?
>
> Others may have a more
elegant way of getting around this, but one quick
> workaround is to edit the control to hide the unit label that you don't
> want to see.
>
> Let's say you want to hide the unit label next to the slider part of the
> control: simply select the control, do Edit >> Edit Control, move the
> offending unit label over top of the digital display, then select Move to
> Back from the Reorder menu.
>
> Regards,
> John Lum
> National Instruments
>
0 Kudos
Message 3 of 3
(2,490 Views)