KWaris Posted May 1, 2012 Report Share Posted May 1, 2012 Hello I am struggling to fix the number of decimal places for the digital displays of Labview Gauges. I did all the settings in the properties e.g number of decimal points, minimum and maximum values etc. However, I still see the analgue values (from 9205 module) going from 3 decimal places to 4 decimal places. Its typical with the gauges only. If I use a numeric control instead, this doesn't happen. However, for me its now too late to hide the digital displays and start adding seperate numeric controls. Most of the gauges are the cluster of few analog channels. And adding different numeric indicator gauges at this stage could be really bit dangerous as I might not meet the project deadline. Is it possible to fix the number of decimals of these gauges. I am sure I am missing here something very simple. Thanks for the help Kind Regards Austin Quote Link to comment
asbo Posted May 1, 2012 Report Share Posted May 1, 2012 I'm not sure what the "Display Format" setting for a gauge refers to, but it's definitely not the digital display. I played around with it a bit and reproduced what you're seeing: even with identical formats, a numeric indicator behaviors correctly (e.g., 4 digits of precisions, do not hide trailing zeros). That said, I can't think of a single time I've seriously used gauges, so I'm not terribly experienced with them. Quote Link to comment
Darin Posted May 1, 2012 Report Share Posted May 1, 2012 I do not remember if it was Gauges, but I remember a similar situation where I was able to change the display via a Property Node that I could not through the Property Dialog. Try Right-Clicking the digital display and Create Property Node -> Display Format -> Format. Pull down to get the Precision property in the same node. Set Format to '0' and Precision to whatever you want. Quote Link to comment
Popular Post Jordan Kuehn Posted May 1, 2012 Popular Post Report Share Posted May 1, 2012 make sure you've selected the digital display first. 3 Quote Link to comment
asbo Posted May 2, 2012 Report Share Posted May 2, 2012 make sure you've selected the digital display first. You cheeky devil. Quote Link to comment
Yair Posted May 2, 2012 Report Share Posted May 2, 2012 (edited) Controls with multiple numeric displays have separate properties for each display. You can choose which display is configured in the properties dialog - in the top left corner of the page there should be a ring (which is way too easy to miss) which has all the displays owned by the control. Edited May 2, 2012 by Yair Quote Link to comment
Jordan Kuehn Posted May 3, 2012 Report Share Posted May 3, 2012 This is also true for graphs and charts, especially when you have multiple axises. Quote Link to comment
Yair Posted May 3, 2012 Report Share Posted May 3, 2012 Hmm, for some reason I didn't see the image in your reply yesterday. Oh well... Quote Link to comment
KWaris Posted June 30, 2012 Author Report Share Posted June 30, 2012 This is now resolved. How do I close this query? Quote Link to comment
Yair Posted July 1, 2012 Report Share Posted July 1, 2012 This is now resolved. How do I close this query? There is no need to do anything. 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.