koff1 Posted April 30, 2009 Report Share Posted April 30, 2009 Hi! I am new to labview and do not know how to customize the standard labview indicators. What I want to do is this: Customize the standard Gauge in Labview, modern, to look more like an aircraft altitude indicator. This implies a gauge reaching from 0 to 9, two needles, one a bit shorter than the other, and the distance between 0 and 9 needs to be the same as between all the other numbers. I also need to get rid of the X.5 numbers. I have successfully added a second needle and right clicked, advanced, customize. The problem is I can’t figure out how to resize only one needle, and I am not able to remove the X.5 numbers and change the distance between 0 and 9. Could anyone please help me with this? Quote Link to comment
LAVA 1.0 Content Posted April 30, 2009 Report Share Posted April 30, 2009 FOr the .x, you should change the formatting of the scale to %d. You can change the position of the minimum and maximum by clicking on the outside of the maximum of the scale. To rotate the scale click on the outside of the minimum. To change the size of the needle, I think you have to copy the needle to word, edit the size and copy it back. But I am not sure, I would check this on a dummy control. Ton Quote Link to comment
koff1 Posted April 30, 2009 Author Report Share Posted April 30, 2009 QUOTE (Ton @ Apr 29 2009, 01:34 PM) FOr the .x, you should change the formatting of the scale to %d.You can change the position of the minimum and maximum by clicking on the outside of the maximum of the scale. To rotate the scale click on the outside of the minimum. To change the size of the needle, I think you have to copy the needle to word, edit the size and copy it back. But I am not sure, I would check this on a dummy control. Ton Hi! Thanks for the reply. I have managed everything except changing one of the arrow sizes. If I use copy paste and resize outside labview, the new resized arrow does not rotate properly, it seems like it sticks to one point, (not the center). If I resize in labview both arrows get the same size Kristoffer Quote Link to comment
TobyD Posted April 30, 2009 Report Share Posted April 30, 2009 QUOTE (koff1 @ Apr 29 2009, 05:31 AM) Hi!Thanks for the reply. I have managed everything except changing one of the arrow sizes. If I use copy paste and resize outside labview, the new resized arrow does not rotate properly, it seems like it sticks to one point, (not the center). If I resize in labview both arrows get the same size Kristoffer You can overlay a second gauge and make the background transparent and hide the scale. This is also useful if you want a 2 needle gauge with separate scales. Download File:post-8758-1241016606.vi Quote Link to comment
koff1 Posted April 30, 2009 Author Report Share Posted April 30, 2009 QUOTE (TobyD @ Apr 29 2009, 04:50 PM) You can overlay a second gauge and make the background transparent and hide the scale. This is also useful if you want a 2 needle gauge with separate scales. Download File:post-8758-1241016606.vi That worked great. Thank you. Quote Link to comment
TobyD Posted April 30, 2009 Report Share Posted April 30, 2009 QUOTE (koff1 @ Apr 29 2009, 08:06 AM) That worked great.Thank you. No Problem Quote Link to comment
Fab Posted February 1, 2011 Report Share Posted February 1, 2011 (edited) In case someone else needs to customize the needles on their LabVIEW Gauges, Dials, Knobs, etc... and the above solution is not enough, then "There is an IDEA for that": http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Custom-Meter-Gauge-Needles/idi-p/1006643 Edited February 1, 2011 by Fab Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.