LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subpages

hello,

ı want to transient from one page to another page without tab. For example when ı am on main page ı want to switch to another page by pushing any button. I am using labwiev 8 student addition. does it give any trouble ?Can you give me any recommendations? how ı  do this vi?

0 Kudos
Message 1 of 28
(3,315 Views)

Hi ugur,

 

what are "pages" to you?

What are "any button"? Frontpanel objects of real hardware buttons?

 

When you talk about tab pages: you can set the active page by writing into a local variable of the tab control.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 28
(3,305 Views)

Page of what if you aren't using tabs? You can still use the tab folder control, configure it to not show the actual tabs (right click on the tab control, select "Visible Items" unselect "Tabs"), then using an event structure (see the Help:Find Examples on the vi toolbar) and use your buttons to switch between the tab pages.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 28
(3,303 Views)

You still use a tab control, but turn the tabs off (a right click function).

 

The tab control is an enumerated data type that you can read from and write to on your block diagram to set the tab that is viewed. You, then need to create buttons and code that reads the buttons and writes the correct value to your tab control. The tab control is an enumerated number that you can use any numeric function on like +1 or -1 to page forward or back.

Omar
0 Kudos
Message 4 of 28
(3,300 Views)

..If u have many number of pages, then find the number of pages using Pages property and array function. Then use it to go forward and backward like +1,-1 like Omar_II mentioned

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 28
(3,294 Views)

Place a classic tab-control, make tabs invisible, paint background and borders transparant. 🙂

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 28
(3,287 Views)

hello guys again,

firstly thanks for everyone who contributed. ı put an example may be it specify what ı mean. as an assumption whenever ı push the temperature button temperature page will open or whenever push the oil pressure oil pressure page will open and show parameters like inlet pressure outlet pressure etc. and also there will be a button for going back home page or next /back button to go specified pages. shortly my purpose is to control so many pages and every page will have their own front panel

 

NOTE: I ATTACH AN EASY EXAMPLE TO EXPRESS WHAT I MEAN

 

see you thanks again

0 Kudos
Message 7 of 28
(3,265 Views)

That example VI has nothing to show what you want instead of tabs. Everyone understands the concept of some front panel Booleans. Have you tried using tabs? What is you objection to all of the answers that suggest you use them?

0 Kudos
Message 8 of 28
(3,261 Views)

i mean subpanel control

 

http://www.youtube.com/watch?v=1vp3xnMVv6o

 

after looking at video i am sure you will understand what i want to express

 

thanks

0 Kudos
Message 9 of 28
(3,239 Views)

Do you mean something like this?

 

 

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 10 of 28
(3,230 Views)