Log in

View Full Version : Front panel indicator


Yppiz
13-02-2010, 14:02
Is there a way to change what is visible on a front panel while a VI is running?
For example, if you have a camera image on the screen, can you design the program to hide the image and then make a larger image visible?
A quick reply would be very helpful.
Thanks!

Greg McKaskle
13-02-2010, 14:37
There are several ways. You can put stuff in to a tab control and change which tab is shown either with the mouse or programmatically. You can also use property nodes, but the tab is easier.

Greg McKaskle

Yppiz
13-02-2010, 15:20
When I run my program, the wondow is way to big. How do I shrink it?

Greg McKaskle
13-02-2010, 18:56
Shrink it using the mouse and save it. A more precise method is to use the VI Properties dialog>>Window Size settings. The default is 1024 by 400. If you want to see code that moves and changes windows settings, that is on the default dashboard. It is the True code that responds to the UserName == Driver test.

Greg McKaskle

ecnahc515
13-02-2010, 22:49
You can edit the type def that lets you choose between what resolution of what you want, and then you can add it to the case and have it actually change the size in there.

Yppiz
15-02-2010, 18:44
Thanks!