LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why doesn't LabView scale my objects properly in the front panel?

In LabView 6.02 (Windows 2000) I have experienced problems when using the "Scale all objects on panel as the window resizes" option under VI properties. Try the following example: Go to the front panel and draw two arrows (from Decorations), one vertical and one horizontal (make sure they are perfectly straight). Now, resize the window, using the bottom right corner several times. You will soon find that the two arrows become increasingly missaligned and are not perpendicular to each other anymore. The problem gets worse the more you play around with the window size and they will never return to their original state. Installing the 6.02 patch did not seem to help at all.
0 Kudos
Message 1 of 3
(2,908 Views)
Same behaviour when resizing the tab control. NI claims it was fixed but I was never be able to verify that. Sometimes when you use customized icon it also screw up during resize. Very annoying indeed.

Joe
0 Kudos
Message 2 of 3
(2,908 Views)
Dear Gustav,

First of all, some objects do not scale whatsoever in LabVIEW. These include refnum controls and text.

As far as the "scale all objects on the front panel as the window resizes" option goes, you have brought attention to an issue that I will announce to the R&D team. Currently, when you resize the screen, the objects on the front panel are resized at the same fraction of the original size, yet small rounding errors occur. As you move the window around, this small rounding error multiplies accordingly. Once you maximize the window, the small rounding error is translated into a large-scale degree change in the orientation of the (previously) perpendicular arrows.

What action are you trying to perform that caused this issue? If possible,
please post some screen shots of your front panel or give me explicit details as to your programmatic goal.

One thing that you may try in order to prevent this misalignment and orientation shift is to highlight the arrows. Then, click the "Reorder" button on the toolbar and select [lock]. This will lock the objects and prevent them from resizing while the rest of the screen resizes (see attached image).

Again, I'm sorry if the aforementioned phenomenon causes you any inconveniences, and I will be sure to announce this issue so that preventive changes are implemented in future LabVIEW revisions.

I hope this helps. Please let me know if you need any further assistance. Have a great day!

Kind Regards,

Joe Des Rosier
National Instruments
0 Kudos
Message 3 of 3
(2,908 Views)