12-05-2005 11:43 PM
Hi Ben,
You wrote:
I have used it on and off as a way to improve my own code. It can (under the right conditions) spot issues with my favorite bug (i.e. bundle by name).
What exactly is the bundle-by-name bug you're referring here? Just curious..
Thank you,
-Khalid
PS: Sorry Darren for the digression.
12-06-2005 12:40 AM
12-07-2005 10:27 AM
12-07-2005 03:00 PM
Hi Xu,
Some VI Analyzer tests are not meant to be run on every kind of VI. For instance, the Dialog Controls test should only be run on user interface VIs that must have a dialog appearance. As for the Overlapping Controls test, it does not fail with your VI on my computer. However, my computer has the default font settings for Windows XP English...I'm guessing that perhaps you have different font settings on your computer, either by setting them yourself, or perhaps because you're using a non-English version of Windows or LabVIEW.
You are correct that the VI Analyzer provides for the analysis of very strict coding style rules...however, if you or your organization do not place as high an emphasis on these rules, we have provided a simple "filtering" mechamism in the test rankings of the VI Analyzer tests. If there are tests that you wish to run on your VIs, but the results of those tests are not high-priority, you can rank those tests "Low" in the VI Analyzer user interface...if there are tests that give results that you always want to investigate, you can rank those tests "High".
Thanks for your feedback...please let me know if you have any additional questions.
-D
12-08-2005 06:23 AM
Hi Darren,
Most of the VI’s I make are not used by some else. For the application I make I use the VI analyzer to control my work. I know myself and in this way, I will be forced to work by certain rules. I think this will make my work more readable in the future for me and maybe for others.
Beside that, the analyzer can always find little mistakes that can cost you a lot of time later on.
After I installed LV8 the analyzer disappeared from the LV7.1 menu. Understandable but it is not a nice solution.
12-08-2005 08:58 AM
12-08-2005 09:04 AM
Darren,
I have used the analyzer a couple of times in the past. Works well.
I do not use it as often as I should... Mostly because I tend to forget that it is there..
JLV
12-08-2005 12:02 PM
Hi Darren,
Thanks for your reply. I am using English version of LabVIEW and all font settings are default, but the screen resolution setting is 1600 by 1200.
Thanks,
Xu
12-08-2005 12:51 PM
Hi Darren,
Forgot to mention that Windows XP on my computer is English version, but the display DPI setting is 120dpi, that is not the default. So the Windows font setting has to be the default for the default error cluser control to pass the test, right?
12-08-2005 01:49 PM
Hi Xu,
Yes, a DPI setting of 120 will definitely cause the text in an error cluster to overlap...we try to leave extra space in our LabVIEW UI elements for text to expand for different font or language settings, but there are definitely some items (like the error cluster) whose appearance is less than ideal with larger fonts.
-D