LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Constant label location bug?

As I was answering the question posted in this thread, I stumbled upon this little "feature" (tested in LV 2011).

The Options panel allows you to specify the location of diagram object labels:

 

ScreenHunter_001.jpg

 

By default, it is set to the first value, which is "Top-Left":

 

ScreenHunter_008.jpg

 

However, for constants created from a control, it looks like this:

 

ScreenHunter_002.jpg

 

If you try to change that option, say to "Top-Middle", and create a constant, it will still give you the result shown above. For any other object (Loop, Function, etc) it seems that the location preference is used properly:

 

ScreenHunter_003.jpg

 

Even if you create a constant from a control whose label is at the "Top-Middle", a constant created from it will look as above. No biggie, but that appears to be an undocumented feature.

 

Note that if you create a very small For Loop and show its label (when the default location is "Top-Middle"):

 

ScreenHunter_006.jpg

 

and resize the loop, the label will stick to the Top-Left corner:

 

ScreenHunter_007.jpg

 

no matter whether or not you check the "Labels locked by default". Puzzling to me...

I am sure there are other oddities. Won't prevent me from sleeping though.

 

 

Message 1 of 2
(2,382 Views)

Hey there,

That does seem odd. I will reproduce this on my machine and file a bug report.

Thanks for pointing that out.

Happy Thanksgiving!

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 2 of 2
(2,348 Views)