06-29-2011 04:39 PM
Hello,
I have software name, version etc on my front panel. i got it to a point where I have the JPEG I created attach to the background. (Front page of a awesome with all those cool graphics... Yea I made that 😉 )
What I want is when the end user Clicks start, it has to switch to an actual Front panel with charts, indicators, controls etc. When they are finished running the test, it should go back to the graphics background and stay there untill they choose File-> EXit from my Run-time menu.
Tab Control doesnot allow me to add the JPEG to Page 1. Plus, I don't want it to be a Tab control anyway. I just tried that as a start. Any suggestions? Thanks!
V
06-29-2011 05:10 PM
Just drop a .jpg file onto a tab page, it works fine.
Just size the tab control larger than the visible area of the FP, and it just look like the FP is changing when you change tab pages.
06-29-2011 10:34 PM
Just use a picture control. Load the JPG into the control when you want it and make the control invisible when you don't
06-30-2011 02:08 AM
Hi VeeJay,
You can use the property node of pane to set the background image of the pane.
Here is the example.
06-30-2011 09:47 AM
I'd use an Classic Tab-control and color it Transparent. Then you can easily swith by programmatically switching tab.
/Y
06-30-2011 10:08 AM - edited 06-30-2011 10:10 AM
@LiaLiu, Would you mind attaching a vi for older LV version 9.0 ?
@Yamaeda, I do not want those tabs on the top that show page 1 and 2 etc.
Thanks all for your replies. Here is what I am doing in picture. The attached jpeg shows my first boot screen. (Image will have software version and name and copyrights blah blah blah on it). When Start is pressed, Files are loaded into the program.
Once files are loaded, I want the whole background including the vertical splitter with the icons to disappear and go into a screen which shows all my tests parameters and results in real time. When test is complete, I want to come back to the screen as shown in the JPEG which would enable user to Press exit to quit the applicaiton.
I will try your suggestions and see if they work. But, any more suggestions WELCOME.
V
06-30-2011 10:11 AM
You can r-click the tab control do disable visiblility of tabs. 🙂
/Y
06-30-2011 10:13 AM - edited 06-30-2011 10:16 AM
But, then it just looks like 1 tab. How do I go to the second tab? Would I then use property nodes? WOuld you mind sharing an example? THanks!
You know what, I think I got it. Thanks! One morequestion. Is there a way to add vertical splitter just to one of the tab?
06-30-2011 10:34 AM
Switching panes is fine. But, still adding an image to tab control is not possible. The background image still appears behind tab control and the effect I am looking for is not achieved 😞
06-30-2011 07:47 PM
Hi VeeJay,
Here is the image of the block diagram.