LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

drawing a guage

Hi
I am doing a project where I should control the rotary meter, so my users require me to show the position of the rotary with a guage. so i want to know how can I show the guage with a thicker needles. I want to have two needles with a label on them( e.g needle1) and the needles should be able to rotate as the rotary meter rotate. I tried to draw it but it does not work at all.
 
Please help
0 Kudos
Message 1 of 13
(3,786 Views)
Hi netee,
right click on your gauge (in the Front Panel) and select "add needle".
see the attached example.
 
Mike


Message Edited by MikeS81 on 03-28-2008 10:46 AM
0 Kudos
Message 2 of 13
(3,785 Views)

Thanks for the example. I did show them the similar picture but they say they want a picture with thicker needles. The needle should  even be thicker at the tip of the needle and be able to number those needles so that they can clearly know which needle is in what position.

Thanks!

0 Kudos
Message 3 of 13
(3,773 Views)

Hi netee,

you can change the color of the needles.

Mike

0 Kudos
Message 4 of 13
(3,770 Views)
Thanks! the problem is there are the rotaries which have got to be represnted with six needles so it is going to end up being confusing for using six different colours. Is there another alternative?
0 Kudos
Message 5 of 13
(3,766 Views)

Hi netee,

you can use something like this, or one gauge for every needle.

Mike

0 Kudos
Message 6 of 13
(3,762 Views)

Thank you. The example is gonna help but I want to know if there is a way of defining the shape of my needle(e.g the thickeness or structure) because the users want something that can duplicate the system they have.

Thanks!

0 Kudos
Message 7 of 13
(3,749 Views)

You can replace the needle with an arrow from the decorations palette (see tst's Nugget on customize guages).

Otherwise you can use the Picture Control to render the needle as required.

Ben



Message Edited by Ben on 03-28-2008 08:46 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
0 Kudos
Message 8 of 13
(3,735 Views)
I don't think it's possible to make the needles thicker. I've even tried to customize the gauge. In customize you can select a needle then import a picture from file (say, an image of a "fat" needle) but the image just orbits around the axis. It looks pretty stupid. Smiley Very Happy Customizing controls in LV is still very rudimentary at best and a waste of time.
PaulG.
Retired
0 Kudos
Message 9 of 13
(3,727 Views)

This is just to illustrate that tst's technique of using the decorations to replace the needle does rotate.

But I agree with Paul that if this technique is not good enough, rendering the needle in a picture control is the only option.

Ben



Message Edited by Ben on 03-28-2008 09:05 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
0 Kudos
Message 10 of 13
(3,719 Views)