LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lock the size of a string readout

Solved!
Go to solution

Hello, 

I made a VI to control a system via  RS232. For that reason it is required to have a large string indicator, that acts as a "terminal" for the system to respond. The VI is meant to be exported as a standalone .exe later on. 

The problem is now that when I move or resize the window, whether I am running the .exe or the VI directly, the string indicator changes size, sometimes it even keeps an odd size when I reset the window to the original size. 

Is there a way to lock the size of an object? Lock and Group seem not to help. 

Thanks, Ivo

0 Kudos
Message 1 of 7
(2,442 Views)

Hi,

 

       I guess "Scale object with Pane" is active. Try disabling the option.

0 Kudos
Message 2 of 7
(2,435 Views)

Tried that before, it's not that. 

0 Kudos
Message 3 of 7
(2,433 Views)

Go into the control properties and turn off the option to scale with the pane.

 

If that is not the issue, then I will have to look at your VI when I get into the office.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(2,430 Views)

still not that...

0 Kudos
Message 5 of 7
(2,418 Views)
Solution
Accepted by topic author Perlmarmelade

Well, you are setting the height and width when your panel resizes.  It is right there in your Event Structure.  If you do not want that to happen, then remove that case.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 6 of 7
(2,403 Views)

Thank you, it was exactly that. 

I had parts of this VI from an example and I did not know what that case did then. 

I thought it was something about the autoscrolling

0 Kudos
Message 7 of 7
(2,400 Views)