06-22-2015 10:53 AM
Hello all. I searched the knowledge base and couldn't come up with an answer to this. I would like to shrink the size of my Vi so that the entire thing fits onto one page, how do I do that?
Thank you
Solved! Go to Solution.
06-22-2015 11:16 AM
There is a method of the VI called Front Panel - Runtime Position - Maximized that you can call with an invoke node to open your VI in fullscreen. You can also use the VI properties Window Size parameters to resize the objects to scale if the use changes the window size. Be careful with these settings though since making a window too small will make indicators clip data and sometimes screws up readability.
06-22-2015 11:22 AM
If you want your application to have good usability with many different screen sizes you can use panes to divide up your screen. Then you have a main graph or indicator you can set it to "scale with pane" so that as the window shrinks, the graph will shrink too. I also use a little button to hide my main options in one of my applications, I will send it to you if I can find it.
06-22-2015 11:37 AM
Here is an example for you. You can use the Yellow Arrow buttons to resize the panes. I like my splitters to look very unobtrusive, so I've made them quite skinny. I use the bottom pane as a status bar indicator. Notice how the XY graph resizes when you change the window size.
06-22-2015 11:52 AM
06-22-2015 03:55 PM
Block diagram. It's so that I may view the entire Vi at one time. I realize it will shrink things down quite a bit. The problem I have is that I am continually scrolling up and down and it makes it tough to see all of what is happening. Maybe that isn't the proper solution. I might be more appropriate to just ask you experienced folk how you view all of a Vi, to make sure connections are correct going into and out of tunnels and shift registers. Hope this helps. Thank you
06-22-2015 04:01 PM - edited 06-22-2015 04:01 PM
There is no zoom in and out of the block diagram, but you can pull up a bird's eye view using ctrl+shift+n on windows.
What you should really do is bundle bits of your code into SubVI's, but they should be logical functions, like performing a calculation or taking a measurement, not just random bits to compress your diagram. If you pick a good architecture to begin with as your main VI, this will help out a lot as well. Do a search for LabVIEW architectures to get started. Once you get a little more into it, the JKI state machine makes very good use of screen real-estate and has a lot of nice features too.
edit: You can also buy a higher resolution monitor 🙂
06-22-2015 04:03 PM
06-23-2015 07:56 AM
I've seen several developers accept scrolling in one direction, especially for long chain of property nodes for scripting .Net or ActiveX. But using a decent state machine you can easy pack a lot of information in one screen that is manageable.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-23-2015 07:19 PM
I see what you mean, tried it, and this is what I was looking for. Thank you everyone for your input.