Disable or hide page on tab control

Is there any way to disable or hide one page of a tab control using a property node and some element from the user interface.
I'm using LV 7.1.
I'm attaching an example of what I would like to do.
Any help would be appreciated
Eric
Attachments:
Tab Control Example.vi ‏29 KB

Hi:
Oh, I see that someone worked faster than me, anyway I will post my
work so it doesn''t get useless. I couldn´t see your VI since I'm one
of those dinosaurs still using LabVIEW 7.0. I've made a small VI that
shows how to make visible/invisible the pages on a tab control. Hope
this helps you.
Robst.
Robst - CLD
Using LabVIEW since version 7.0
Attachments:
VisiblePages.vi ‏36 KB

Similar Messages

  • Is it possible to programatically add tab pages on tab control

    Hi All,
    Is it possible to programatically add tab pages on tab control? If yes then how?
    Thanks & Regards,
    Shrinivas

    Doing this will require the use of VI server and methods and properties.  First, some questions:
    Is the number of pages you may need unbounded?
    Do you have a maximum number of pages you need to display at any one time?
    If the answers are no and yes, then you can create a tab control with the maximum number of pages you need, and hide or show the pages, as necessary. To hide or show pages, use the Pages property to get references to all the pages.  Use Index Array to select the page you want to show/hide, then use its Page Visible property to show and hide it.
    You can also get a lot more dynamic, if you number of pages you need to show at any one time is less than the total number of pages.  In this case, you will want dynamic page contents and tab name.  You can set the tab name by Page Label property of the page (right next to the Page Visible property).  You can make the content dynamic by using a subpanel as the only contents of the page.  You can find out about subpanels in the LabVIEW help or this post.
    You also need to ask yourself whether a tab interface is the best one for your application.  I have usually found that if I need to show and hide a lot of tabs, I would be better off with a subpanel for my content and a text or menu ring the select the content.  Tree controls also work nicely for selection.
    Good luck!  Let us know if you need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Highlighting current page on Tab control

    Hi!,
    I am using tab control with 7 pages. The page names are all in the same colour. Is there any way in which the colour for the name of the current page can be made different from the rest?
    If your answer involves property nodes (or more advanced techniques) please be descriptive as I am beginner.
    Also, which is the best book for inside stuff on property nodes?
    I am using LV-PDS 6.1
    Best wishes and thanks,
    Gurdas
    [email protected]
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    > Is it possible to assign the same keyboard key (to all buttons) such
    > that pressing it will do the job of clicking the current active
    > button? I would prefer this key to be the 'space bar'.
    >
    > The application allows only one hand to be free. The other hand will
    > be used to place test component and rotate it manually below the
    > sensor. Thus, such a feature makes the user's task very easy. He just
    > keeps clicking the space bar until the vi ends.
    >
    It isn't possible to assign a key to more than one control, since then
    it would be pretty unclear which control should out-of-the-blue receive
    the key. It is possible to catch key events and perform and action
    based upon the key press. Another option is to set
    the key focus to the
    next logical button in your progression. If the focus is set to a
    button, then the space bar, enter key, etc all work.
    Since you are asking for comments, the UI you describe sounds a bit odd
    to me. A sequence of buttons that the user is required to click in a
    given order? You might want to compare this to an indicator showing the
    stage and current results, and one more button that says Next. Tie the
    key navigation shortcut to the single button, and each button press
    moves to the next stage. You might want to add a Cancel or Stop button
    if there is ever any need to break out of the sequence. Finally, this
    is pretty close to a wizard that allows the user to go both directions.
    If it makes sense to reverse and redo a step, add that button too and
    you have a very standard UI.
    To build a wizard, use a tab control with a page for each stage. Hide
    the tabs, and modify the pages by adding or subtracting on the value.
    Greg McKaskle

  • Navigate pages of tab control with radio buttons

    hi guy,
    i need to navigate 7 pages of a tab control container usings custom buttons. that is, when i click on a button, i takes me to the specific page on the tab control container.
    i think this can be done using radio buttons and tab control container, but i dnt really know how. please any help will be appreciated.
    thanks....

    Hi jiggaharry,
    I think I may have a link that addresses you issue. Do have a look at this link:
    Navigate Tab Control with Custom Buttons:
    http://forums.ni.com/ni/board/message?board.id=300​&message.id=6123
    We have a vast array of data on ni.com for examples and tutorials which could be very helpful in your code development. Do feel free to browse through and use the examples are they are all free of charge
    Hope the link is useful to you.
    Regards,
    Manick | AE | NI ASEAN

  • Indicators show thru to front page of tab control.

    I have a tab control with boolean indicators on the second and third pages. When the indicators are activated (mine blink when certain tests are selected), they show on the front panel. I have tried to "move to front" the tab control but that didn't work. The property node for the tab control doesn't seem to have anything to help either. Any ideas?

    I found a straightforward solution here:  http://forums.ni.com/t5/LabVIEW/Determine-if-Tab-is-active/td-p/1841435
    which does change as the tabs change.
    The blinking question was asked, as noted, 12 years ago.  I apologize for the confusion caused by changing the question.
    I consider my question solved.
    Thanks to those who responded.

  • How to save values of a page from tab control??

    Good morning!
    I have a question about saving the data of one page of the tab control.
    In my case, alarms (boolean buttons) can be activated, it will appear in a page called HISTORICO (Date // Time // Room), but when I change to another page and back again to the HISTORICO page, the table back for null value.
    Here's some screenshots of my program.
    If anyone can help, I will be grateful.
    Solved!
    Go to Solution.
    Attachments:
    mainvi.png ‏167 KB
    frontpanel.png ‏141 KB

    In your case structure set on the case "Tabela", you have a Use default if Unwired tunnel on the right hand side.  And I can see that you have some unwired tunnels on it.  If the case structure ever executes one of those cases, then the default value of an empty table is going to be passed out and put in the shift register.
    Solution:
    1.  Right click on that tunnel and turn off Use Default if Unwired.  (In 95% of tunnels, it should not be used.)
    2.  Find the cases where the tunnel is unwired and pass the table wire through all of them.

  • Can I control pages in tab control with case structure?

    Hi there!
    I'm quite new to Labview and my company wants me to make some programs for testing of electronics. I'm currently working on the GUI and I would like to control three pages in a tab control with buttons.
    I only got the base package of Labview 2009 so I can't use Event structure.
    If you open my .vi you can see I have a tab control with three pages. In the first page I got a "Start" button that should open the next page in the tab control. In the middle page I have a "Tilbake (Back)" button that should go back to the previous page. The button called "Lagre (Save)" should work as a next button and go to the last page. On that page I have a "Tilbake(Back)", "Ny test(New test -> go to first page again)" and "Avslutt (Quit)".
    The buttons under the tab control where something I copied from an example just to try out. That works perfectly, but I cannot edit the Event Structure from the example.
    Is this possible to solve with Case Structure? Or maybe there are other solutions? Feel free to edit my .vi if you like
    Thanks for the help!
    Regards,
    Even Myhre
    Test engineer
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway
    Solved!
    Go to Solution.
    Attachments:
    Test GUI.vi ‏29 KB

    Hi again!
    Well it solved my problem, but I got a strange error while running my program.
    When I press "start", the tab control changes page. When I press "tilbake(back)" it is totally random how many clicks it is necessary for it to change back to the first page. It can be from 1 to 20-30 clicks. Which is very strange since all other navigation buttons works perfect. "Tilbake(back)" button on the last page works correctly and has the same structure as the "tilbake(back)" button on the middle page.
    I have tried all the different options on how the button will response on a press.
    Regrads,
    Even
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway
    Attachments:
    Test GUI2.vi ‏28 KB

  • How do I disable or hide the Advanced Tab in Firefox's Internet Options?

    I need to stop staff from playing with the Internet Options in particular the Advanced Tab

    You are probably better off if you lock those connection settings.
    http://kb.mozillazine.org/Locking_preferences
    http://kb.mozillazine.org/network.proxy.type
    http://kb.mozillazine.org/network.proxy.%28protocol%29
    http://kb.mozillazine.org/network.proxy.%28protocol%29_port
    Add code to [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.<br />
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    <pre><code>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #connectionGroup {
    display:none !important;
    </code></pre>

  • Alternative to tab control

    Hello all ,
               I was wondering if there is any other working thats does the same job of having a tab control. What I would like to do is to, use a push button as go to screen and should be able to display a new screen and so forth. Please provide me with some feedback.
    thanks,
    K

    A couple of options...
    Use a single page tab control and use the button to set the Visable property to hide/show the tab control.
    Group the related controls and hide/show them
    Use a sub-VI set as Show FP when opened and Close after.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Export image EMF from tab control, help!!

    Hello,
    I am trying to get a good resolution report. I got use export image to EMF file so the graphs look very good resolution. When I appended the image control like png it looked poor quality. Now is ok, now I export image of graphs to emf and then use 'append image to report' using the path of file emf.
    But I have a problem in this case. I am trying to get EMF file from Tab control. I have 8 graphs inside of each page of tab control. I would like to get each page exporting to EMF file and later append the image to report from path of file. The problem is I cant export to emf. I tried the solution in this treads.
    http://forums.ni.com/t5/LabVIEW/send-control-image-programmatically-to-clipboard/td-p/180921/page/2
    But it uses get image and it is bmp, so no good solution.
    I attached pdf file. IT shows the tab control with append control to report (it is like capture in png file) and one graph append control to report png and emf file of another graph and use the path to input in word report. You can see the diference.
    I would like to know if i could export the tab control to emf or any onther vectorial image and later use the path. SInce it will take several pages and i will need sometimes 300-400 graphs...
    Any idea would be great.
    Best Regards.
    Attachments:
    z-capture.png ‏34 KB
    Report22.pdf ‏212 KB

    Hi Mike,
    Thanks for your reply!.
    Well, it was only one example. Check the attached file. It works ok. I split in dataset of 8sec and save the emf files.
    The problem is the report. If I enable it doestnt works fine, since you will be the both parts working in the same time.
    That's why the sequence structure would be ok, one time all the graphs are saved then I could append to report.
    I have another question. I used transparent graph and it works ok. I remove all the scales Y values or labels and customized the graph adding one horinzontal line for X scale (like capture), but in the file emf saved didnt appear. Do you know why?.
    Best Regards, Fred.
    Attachments:
    z-capture1.png ‏31 KB
    z-capture2.png ‏16 KB
    Report1.pdf ‏267 KB

  • Tab Control Question

    Dear Sir
    If I have a control in the front panel of one page in tab control and I want to add the same control in another page in tab control to use it. How can I do that ??
    I'm waiting your reply

    Then you are probably going to want a loop with an event structure.
    One event would be: Changed Value on control 1.  When that happens, you need to also change the value of control 2 (to the same number).
    Second event would be: Changed Value on control 2.  When that happens, change control 1 also.
    There are  a variety of ways of changing the value of a control (the easiest, but least elegant is to use a local variable) -- the important thing is the event structure.
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • Customizing Tab control and Enum

    I am trying to do two things here regarding customizing controls.
    The first is to add a down-arrow decoration to an enum so that it looks kind of like a menu ring (click the down arrow to drop down the selections).  If I simply paste it on top of the control, the decoration will intercept the click and not drop the selections down.  I want to have the control colored, so putting it behind and making the ring text background transparent doesn't really work either.  If I make it part of the "Ring Text" background element, it's fine for that one size, but if I resize the control it gets all stretched out.
    The second is to modify the "Page Labels Display" in a tab control.  The only selection allowed when attempting to customize the tab control is to "replace" the page labels display with a different control type.  Every enum or ring that I've tried has simply beeped at me with no replacement.  I would really like to get the aforementioned Ring-styled enum in this box as well.
    One other quirk that I haven't noticed before (Maybe since I haven't done a lot of work with tabs in the past), but when I'm trying to get context help for anything inside of a tab, the only thing that shows up is the context help for the tab itself.  Is that "working as expected"?
    Regards,
    Mike

    hi Mike, 
    there is another discussion forum covering your first question, but it sounds like your best bet would be a ComboBox: 
    This will give you the appearance you want, and behaves the same as an Enum.
    In order to set up a similar drop down menu of the pages of a Tab Control, it will be a little more indirect. Take a look at the attached example, which populates a combo box with the pages of a Tab Control. 
    That quirk you mentioned with the Context Help and Tab Controls is a known bug, and is fixed in LabVIEW 2011. Hope this helps!
    ~kgarrett
    Applications Engineer
    National Instruments
    Attachments:
    ex get pages from tab control.vi ‏10 KB

  • Boolean Controls on a Hidden Page in a Tab Control

    Hello everyone. 
    I am having some issues with a tab control in a fairly complex program put together by another (more experienced) developer. The basic setup for this tab control features several tabs to control various aspects of a system (motor setup, video setup, general parameters, etc.). Going to a specific tab and pressing Ctrl-F8 brings up a password prompt, which then displays the "Advanced" menu. The advanced menu is a hidden page within the same tab control. The advanced menu contains several Boolean controls that allow access to the various advanced setup features (these pages are also hidden pages on the same tab control), however, none of the Boolean controls are functioning. Clicking on the controls does not cause the buttons to appear pressed, either when running the program as a compiled executable, or while on the front panel of the VI in LabView. The hidden pages also appear as dark grey. I have confirmed that the same is true for all of the hidden pages within the tab control. I believe that my issue is with the version of LabView that I am using. The program was designed in 8.0, whereas I am currently using 8.2. I have not been able to find any references to such an issue between the versions, and I am somewhat at a loss as to how to correct it. Version 8.2 is the only version I currently have access to, otherwise I would use version 8.0, to see if that corrects the issue.  Programs that were compiled previously by the original designer do function properly (hidden pages, when displayed, still appear dark grey), but even compiling the unmodified source code results in the same problems for me. 
    Any help that you could offer would be greatly appreciated. P.S. I would be addressing these problems with the original designer, but he is currently on vacation for a month and I wish to get this resolved.  
    Solved!
    Go to Solution.

    jack47 wrote:
    If a page in a tab control is hidden it will appear 'dark grey', and all of the controls on that page will behave as if they are disabled.  If you 'right-click' on the page name, and select 'Advanded->Show page' it will turn light grey.  Now you should be able to change the controls when the VI is not running.  If the page is shown during operation and the controls still do not function they are probably disabled.  You can check by 'right-clicking' on the control and going to 'Advanced -> Enabled State'.  Also it is possible that they are disabled programatically using a property node.
    I am leaning towards this as the issue, at the moment. I just find it very odd that the controls work in the 8.0 compiled program, but not my 8.2 compiled version.
    I will have to show/hide each page when it is accessed/left.

  • Tab control with 2 pages

    I want to create a Tab control with 2 pages, in each page there are 2 buttons - "OK" and "Cancel".
    If on Page1, "OK" is clicked, Page2 will be disable and greyed, until "Cancel" is clicked. And vice-versa for Page2 buttons.
    How to do this?
    Thanks in advance...
    Solved!
    Go to Solution.

    Hi Splee,
    Please view the attached vi, I believe it's doing what you've asked. You can invoke properties using property node in order to change the value of variables.
    Hi Simply_me check your Vi will it really works. To make this VI in working condition you have to do some more coding in your code.
    Check your page selection technique.
    Hi Splee,
    First you have to find out on which Tab Page user clicking the buttons, the all operations you have to do on other page.
    Once your page is disable you can't access the controls of that page. As Geeta says make a code using event structure with Tab Control property and invoke nodes. 
    You have to do some coding to achieve your requirements.
    Thanks and Regards
    Himanshu Goyal
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

  • Create a log in tab in tab control and to create one of the tab is disabled and grayed

    Hello there
    Can you helpme to solve my question about log in in tab control? So basically i have two page in a tab control, page 1 contains log in such as username, password and login button and second page is nothing. After the user input the correct username and password into the string form, page 1 will be disabled and grayed and autmoatically will be in page two? I also upload the vi that i created and please correct me if i have something wrong about my vi.
    Please help me with this asap, because i have assignment based on the lab view about client server.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Untitled 112.vi ‏19 KB

    Hi,
    Aaa.. the blue box is an Enumeration Constant. Because I've used something like this you cannot change the name of the Tabs. To fix it:
    Simply replace these two Constants with Numerical Integer Constants 0 - for the first Tab and 1 - for the Second Tab. It took me a while to understand what you wanted to say . This way you can change the name without getting an error.
    I've rewritten the entire VI in order to be clean (I was ashamed of the previous one). You can still use the first one.
    Just an advice: Even if it looks at the beginning more complicated try to use Event Structure all the time when you have buttons. The use of loops with buttons and if structure (like in your vi) creates a lot of problems and it's hard to debug.
    Paul
    Attachments:
    password.vi ‏35 KB

Maybe you are looking for

  • Is it too much to ask that my scanner WORK?

    OK, I have an Epson StylusPhoto RX680...older all-in-one, but one that both Epson and Apple insist has proper SL drivers written for it... Yeah, sure. Not for my new iMac 3.06 it don't. Whether directly connected via USB, or networked through my MacP

  • Possible iOS 5.0.1 battery fix - worked for me...

    Hey everyone, I posted earlier about how iOS 5.0.1 was draining the battery on my iPhone 4.  Since there are a bazillion comments/threads, I figured I'd post it here.  Just like all of you, I upgraded to 5.0.1 and noticed - especially over the last f

  • 10gR1 OEM can not verify Solaris 10 host. 10gR2 agent can upload though

    Got following error when tried to verify Solaris 10 host. I have 10gR1 (1.0.3) fresh installation without patch on server 1. Recently I installed 10g R2 agent on a Solaris 10 server 2. The agent can upload data back to the OMS without problem. But af

  • CRM 2007 Service Contract Determinatio and returns/complaints

    Hi gurus, I'm currently struggling to set up the contract determination for our CRM 2007 for complaints and returns. I have set the flag contract determination D or F (both did not work for my tests). as well in the transaction type customizing I hav

  • My MacBook Pro is running slow all of sudden

    I have to lasted system installed, Mountain lion. It was working fine one night and then all of sudden it just was extremely slow the next day. It says I have zero to any RAM space. I restarted it and that fixed the probably for about 5 minutes and t