LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to have different length needles on a gauge?

I am trying to simulate a clock face on a gauge using different length needles. I have tried extensively to change one of the needles, but it doesn't work. When I use the control editor to change the length of 1 needle, it changes the length of both, even when I right click and choose "independent sizes." Am I missing something? I have been trying to find the answer to this on the discussion forum for awhile now. I am using LabVIEW 6.0.2. Thanks,

~Matt
maat
LV2019
0 Kudos
Message 1 of 4
(3,198 Views)
Hi Matt,

It is an Interesting Problem. Using Control Editor Can be tricky and Frustrating.

Some times I use a trick for many such problems. What I did is this - Created two Gauges with Identical Scales. One is Smaller than the Other in Size. So we have a Large Gauge with Large Needle and a small one with Small Needle.

Now I color My small Gauge - Border, Face and Center Pivot - Transparent. I leave the needle as is.

Third I Put the Smaller Gauge on top of the Larger Gauge. Make Sure the Large Gauge is Moved Backwards and the smaller Gauge (Transparent) is in Front.

Now You actually are Looking at a Gauge With two Sized Needles!! Purists Might say, hey thats not fair. But I had the clock face ready in 5 Minutes Flat!!

Anyway, I am Attachin
g a Small Illustration vi in ver 6.0 for you to see. Oh Yeah!! You need to put some engine under the hood though!!

Good Luck!!
Good Luck!

Mache
Message 2 of 4
(3,198 Views)
Mache, I want to say that you made an excellent example. Great Job!

I played with customizing a gauge with two needles. The problem is that the needles must have the same lenght. Your suggestion with the two overlayed gauges looks like the only way to do the job.

Jeremy Braden
National Instruments
0 Kudos
Message 3 of 4
(3,198 Views)
Mache,

Purists should have programmed that capability into the LabVIEW control editor!
Regardless, your suggestion works perfectly for my application. Your help is greatly appreciated,

~Matt
maat
LV2019
0 Kudos
Message 4 of 4
(3,198 Views)