05-13-2014 02:04 PM - edited 05-13-2014 02:18 PM
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.
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
05-13-2014 02:12 PM
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.
05-13-2014 02:17 PM
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
05-13-2014 02:26 PM - edited 05-13-2014 02:41 PM
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.
05-13-2014 02:41 PM - edited 05-13-2014 02:41 PM
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.
05-13-2014 04:20 PM - edited 05-13-2014 04:29 PM
Yamaeda, can you expand on your workaround, please?
05-13-2014 06:57 PM
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.
05-14-2014 05:31 AM
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.
05-14-2014 06:44 AM
@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
05-14-2014 09:59 AM
@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