LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the text label look of a (silver) dial?

Hi everybody,

this is just kind of an aestetic question. I've put a dial in a VI in which I'm using silver controls. I need to use text labels for scale markers, but the text label under the dial looks like classic style rather then silver.

 

knob.png

 

Do you happen to know a way to modify it so that it is coherent with the style of the dial?

I've tried to modify the control in order to create a new custom made one, but I haven't managed to make it work.

 

As a side note, I am at the very beginning with LabView, so I'll appreciate any pointers to useful resources about the topic.


Thanks a lot  Smiley Happy

0 Kudos
Message 1 of 14
(3,774 Views)

What version of LabVIEW are you using. In 2012 the "knob" doesn't look like that on my Win7 system, and the digital display maintains the "Silver" look. Your know looks like more like the dial, but the digital for the "dial" also maintains the silver look.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 14
(3,768 Views)

Either use a separate silver control, or modify the control as a Custom control (which it already looks like it is) to change that display. I'm not very experienced with custom controls, though.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 14
(3,760 Views)

Putnam

If you select "Text Labels" you'll see the effect the OP noticed. And the part won't replace from the control editor!  

 

The "Missing system dial" from the UI enthusiasts shows the same effect.  I have no idea why the part cannot be replaced!  It looks like you found a nasty little bug..  Yamada is right about the work-around but that is not a nice feature.  


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 14
(3,751 Views)

LV_Pro wrote:

What version of LabVIEW are you using. In 2012 the "knob" doesn't look like that on my Win7 system, and the digital display maintains the "Silver" look. Your know looks like more like the dial, but the digital for the "dial" also maintains the silver look.



You're right about the dial think, I've edited the previous messages, my fault.

 

I'm using LabVIEW 2013 (64bit on Windows 7), and this is the sequence of steps to reproduce the results:
1. add the dial (right click in the front panel, Silver > Numeric > Dial (Silver))
2. right click on the dial > Properties > Text Labels

3. Check "Use text labels for scale markers" and add a couple of them

At this point I am already able to see the labels display, otherways right click on the dial > Visible Items > Text Display.

 

Hope this helps a bit.


Yamaeda wrote:

Either use a separate silver control, or modify the control as a Custom control (which it already looks like it is) to change that display. I'm not very experienced with custom controls, though.

/Y


I've tried to modify it as a custom control, but as Jeff points out I am not allowed to do so. I mean, I am allowed to right click on the label, go to Replace and select an enum (or ring), but then I get a warning sound from windows and nothing changes.

0 Kudos
Message 5 of 14
(3,739 Views)

Yamaeda, can you expand on your workaround, please?

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

I found this limitation in a recent project and ended up using a separate indicator and synching the two values in order to get the look of my FP correct.

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 7 of 14
(3,707 Views)

littlesphaeroid ha scritto:

I found this limitation in a recent project and ended up using a separate indicator and synching the two values in order to get the look of my FP correct.


I don't know if it's the same solution as yours, but I ended up using two controls (a dial and an enum) synced with an event structure. It's dirty, but it does the job.

0 Kudos
Message 8 of 14
(3,679 Views)

@MaurizioD wrote:

littlesphaeroid ha scritto:

I found this limitation in a recent project and ended up using a separate indicator and synching the two values in order to get the look of my FP correct.


I don't know if it's the same solution as yours, but I ended up using two controls (a dial and an enum) synced with an event structure. It's dirty, but it does the job.


Yes, that's what i had in mind. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 14
(3,667 Views)

@JÞB wrote:

Putnam

If you select "Text Labels" you'll see the effect the OP noticed. And the part won't replace from the control editor!  

 


For tracking purposes, this was filed to LabVIEW R&D as CAR 290105.

 

Thanks,

 

Jeff Peacock 

 

Product Support Engineer | LabVIEW R&D | National Instruments | Certified LabVIEW Architect 

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