Tab Control doesn't execute

Dear all,
i am working on an application with multiple front panels. so i am using tab control to shift from one panel to another.
its working fine for all the cases except one.
i am attaching the pic on that case where a particular page is called and it doesn't get executed.
pls have a look at it and let me know where is the problem
Thanks,
Ritesh 
Solved!
Go to Solution.
Attachments:
Main with Tab_BD.png ‏44 KB

What version of LabVIEW?
I have seen a bug in LV 8.0 and 8.2 where:
If you DEFER PANEL UPDATES,
Set the TAB control to tab X
Un-DEFER PANEL UPDATES.
then the TAB control will show tab X in front, but what's on the page is from some other tab.
In other words, it changed the tab doohickey itself, but didn't change the contents.
The workaround was to change the tab via a PROPERTY NODE : VALUE function, rather than a local variable.
I suggest you give that a try. 
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • Using a jQuery list box placed onto a tab control doesn't seem to work for posting?

    Hello,
    I developed a U.I. in Dreamweaver for a  product and have several list boxes that use the onChange modifier to collect what the user selects from the list. I use the onChange=this.form.submit() function to grab the user's selection from the list box..
    When this dropdown list box code is placed onto a form, it posts properly and I can retrieve the user's list selection.  If however I place the list box code onto a Tab page from a jQuery Tab Control, developed in Dreamweaver, the posting doesn't seem to work.
    I must be missing something because identical code is working fine when the list box code is placed on a form yet when the code is repeated from within a Tab, it isn't working.
    The code is simple, and shown below).  The list values are coming from a MySQL table.
    $MyQuantity_query="SELECT * FROM Quantity_Table";
    $MyQuantity_Result=mysqli_query($cxn,$MyQuantity_query) or Die ("Cannot connect");
    echo"<select name='ThisQuantity[$RowCounter]' value='ThisQuantity[$Rowcounter]' onChange='this.form.submit()'><option value='-1' selected>Qty</option>";
    While($MyQuantity_Row=mysqli_fetch_assoc($MyQuantity_Result))
       extract($MyQuantity_Row);
       echo"<option value='$Qty_Number'>$Qty_Number</option>";
    echo"</select>";
    Any suggestions would be appreciated.  Thanks.
    Joel
    [email protected]

    Thanks you.
    I tried placing the selection list inside of
    tags but posting still doesn’t seem to be working? 
    Regards,
    Joel

  • Tab control doesn't highlight when tabbing

    I have to navigate through my application without a mouse, using the tab key, return key, etc. As I tab through the controls I've noticed that as a control receives focus it is outlined with a black box. This doesn't seem to be true, however, for the tab control. Is there someway I can get the tab control to be highlighted when it receives focus via the tab key?

    There are ways you can do it by using attribute nodes. You can monitor the tab controls attribute node to see if it is in focus, then change color, size, or display the page, etc. Here is an example.
    Attachments:
    Tab_control.vi ‏28 KB
    Tab_controld.png ‏4 KB

  • Tab control background color matching

    I have a system style tab control.  I realized the when the program runs in exe mode, the background color of my label on the tab control doesn't match the backgound color of the tab control.  The background color of the tab control is different between exe mode and development mode.  Anyone help? How do I match the color?  Thanks!
    Kudos and Accepted as Solution are welcome!

    Problem is solved on another post.  Thanks!
    Kudos and Accepted as Solution are welcome!

  • 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.

  • Tab control problem

    Hello... I have a problem with the tab control function. I can't control both of my scales at the same time. When i press "run", if i start to control scale 2, the buttons of scale 1 doesn't work and vice versa. My VI is uploadet 
    Best regards
    Oesen
    Solved!
    Go to Solution.
    Attachments:
    FINAL!.vi ‏79 KB

    What did you expect to happen?  You have a case structure as the outermost structure on your BD with the tab as the selector!  You only read the tab once and execute only 1 case dependant on which tab is selected when you press run.
    Try initializing both VISA sessions and chose which one to communicate with based on the val change event of the tab
    Jeff

  • Pass data between Tab Control Pages

    I’d like to initiate a serial VISA session in the first page of a Tab Control to use the VISA Serial Configure.VI outputs (Visa resource name and Error cluster) in other pages or outside the tab control.
    So, how can I pass those references outside the page? I used local variables, but it doesn't seem the best way to do this because I need to create several variables to capture the reference in each page of the tab control...
    I created a sub-VI to initialize the VISA session, but in this case it always starts a new session every time I use the sub-VI….
    Thanks in advance!
    Klein
    =====================================
    Block Diagrams (LabVIEW 8)
    Message Edited by Klein on 04-03-2007 12:56 PM
    Attachments:
    TabControl.vi ‏37 KB
    TabControl - Page1.jpg ‏94 KB
    TabControl - Page2-3.jpg ‏165 KB

    There's no reason at all to wire the tab control to a case statement. Since you have the read and write Booleans and they can't be clicked until the user changes tab pages, no code for the tab is necessary.With the Booleans for write and read, you should just have an event structure for those. You could initialize the serial port outside the main while loop and just pass the resource name in. Of course, if you wanted a tab for the init funciton, you could do that to but put a Boolean on that page to execute it. The only time you need to wire the tab control to a case statement is if you want to run some code immediately when the page is clicked.
    Attachments:
    Tab_Example.vi ‏45 KB

  • Cursor Legend Tab Control BUG

    Attached is a VI illustrating a bug with the Cursor Legend when graphs are in tab controls. If you enter in a number in the "Cursor X position to move to", then switch pages on the tab control, you'll notice the cursor has moved to the appropriate place, BUT the cursor legend has not changed to reflect that. Once you manually move it, it updates.
    In short, if the cursor position changes programmatically, the cursor legend will update ONLY IF THE XY GRAPH IS VISIBLE, even though the cursor position DOES change.  
    I hope someone from NI will see this post and add it to the bug list (if not already there??). If anyone knows a work around, that would be appreciated also.
    Michael
    Using LV 8.2
    Attachments:
    CursorLegendTabControlBUG.vi ‏27 KB

    Good idea. It doesn't work exactlly, but gave me the idea for how to work around. It appears even if you have a tab value change event doing the same thing the Cursor X Position numeric indicator value change event, the cursor legend X value will not change. You can even try entering the same value in the indicator and pressing return after switching tabs, the cursor legend will not update. It thinks for some reason it is on the correct index. I made a Tab Value change event that first moves the cursor to the next index, then moves the cursor back to the correct index. Ugly but works. Hopefully in the next ver of LV they will have fixed a lot of these cursor bugs; there is definitely some work to be done (i.e. fixing cursor X position for XY graphs, an extremelly annoying bug)
    Michael
    Message Edited by miguelc on 02-23-2007 03:49 PM
    Message Edited by miguelc on 02-23-2007 03:50 PM
    Attachments:
    CursorLegendTabControlBUG_wrkaround.vi ‏34 KB

  • Possible bug with Tab Control and Context Help?

    I created Description and Tip text for each Tab of a tab control I am using on my front panel.  I have a subVI that is called by selecting a menu item from my main front panel.  The subVI's front panel also has a menu system and a Tab Control.  I have Description and Tip text written for each of the tabs on the subVI's front panel.
    When I enable context help from the menu of my main VI, the proper help text shows up for the tabs on the main vi and, when I bring up the subVI's front panel, for its tabs as well.
    So far so good...
    Now I builld the application and run it as an executable.  For ALL of my panel tab descriptions, I get the tab's label in bold text, but no description (just a blank area).
    Is this a bug in LabVIEW?
    Kevin 

    wired wrote:
    I'm still seeing this behavior in LV8.2.1.  Does anyone know if/when it was fixed?  Also, my tip strips show up in the corner of the monitor when I mouse over a tab (in both the executable and the development version).
    I see it still even in 8.5.  
    The Help part of the bug is still NOT fixeed by NI.
    But I dont get the tool tip appearing in the corner of the monitor, it is showing up as usual.
    - Partha
    LabVIEW - Wires that catch bugs!

  • "Tab" control and Tab order of controls inside the tab

    Hello everybody,
    I have created the tab control with 6 'tabs', inside every tab I have some controls, like edit fields etc. I wanted to make an order of controls for every tab, so I have selected the option "Tab-order settings" from menu "Edit" (sorry for translation, I use non-English version of LabView), and tried to set the order. After saving it with "OK" button it turned out that the order is not changed. Simple it seems that the option doesn't work for controls in tabs. Is this a bug or do you have a solution for this?
    TIA,
    Yazilim.

    Sorry LabviewGuru, but I haven't found anything concerning Tab control and tab order inside it. Of course, I have found the topic "tabbing through front panel objects", but it simply describes how to change order for standard controls, not for controls which are inside the Tab control. But maybe you have another, extended help? So can you please copy and paste to discussion forum message this part of your help which concerns the Tab control and tab order, and then send the message?
    TIA,
    Yazilim.

  • Menu ring for tab control

    Hi,
    I use a tab control which got in the meanwhile more tabs than could still all be displayed simultaneously. That's why I would like to use a menu ring instead of the tabs in order to control which tab will be displayed in the forefront. However, I could not yet figure out how to change the "page label display" of the tab control into a menu ring. Have a look onto my simple example. I guess you agree that my current solution doesn't really look like a pull down menu although it works like one. Any hint how to improve the design?
    Thanks in advance,
    Peter
    Attachments:
    Tab_Control.vi ‏17 KB

    Here's an example that is based on an example that ships with LV. I cleaned it up a bit so it would look mre like a "real" application. It's not great from the standpoint of code design (No error handling for instance) but it shows how these plugins could work.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    subpanel.llb ‏72 KB

  • Tab control bug?

    I have a problem with tab control which has been bugging me for a long time and i can't seem to solve it.
    I have a tab control with 4 pages, A, B, C and D. All these pages are invisible at the beginning. Once the user selects the page from the custom run-time menu, the appropriate page then showns up (PageVis=True). Now, when i try a few more times switching between different pages, some pages showns up together with the intended page. Once i click the correct page's tab, the others disappear. Now this is a problem because when a user is using page A, i do not want he/she to be able to access other pages.
    Can someone help me before i kill someone? Thanks.
    Attachments:
    tab.JPG ‏27 KB

    The order of the property nodes is not defined because you have no dataflow between. Execution order is not defined by where a function is on the block diagram (left, right, top bottom), but how data is connected. You have no connections between the properties so they execute in parallel and you have no way of knowing which one will actually execute first. The simplest way to enforce dataflow is with the error in/error out connections. That is shown below. also shown is one way to select the active page. I used a local variable but if you make the tab control an indicator instead of the default control, just wire a value to the terminal itself.
    Message Edited by Dennis Knutson on 07-26-2007 08:16 PM
    Attachments:
    Tab Control.PNG ‏13 KB

  • Keyboard Navigation with Tab Control

    We have a tab control in a form and it has several pages.
    On one of the tabs we show data from a multi row block, the first 3 columns are on the tab canvas, then we have a stacked canvas that scrolls left/right that shows the rest of the data. We fix the first three columns as they give context to the rest of the rwo that is scrolled within the tacked region.
    Now the problem:
    When focus is on one of the columns displayed on the tab page we can press CTRL-TAB and the tab switches to the next tab page.
    If focus is on one of the fields on the stacked canvas CTRL-TAB doesn't navigate to the next tab page - it attempts to switch windows.
    It looks like the items that aren't onthe tab canvas, but are on the stacked canvas, aren't party to the CTRL-TAB event?
    Has anyone else experienved this problem? Or know of a work around?
    Regards,
    Bren

    When I use CTRL-TAB just the trigger key-next-item fires. In our environment we use CTRL-PageUp/Down to switch the tab canvas. But I think the event that is really fired is key-nxtblk. So on forms-level I added the triggers key-nxtblk/prvblk that call my procedure next-/previous-tab-page.
    In the when-new-forms-instance trigger I initiate a plsql-table, that has the following record type as a rowtype:
    TYPE TabPage_Rec IS RECORD
    (TabPage Varchar2(80),
    First_item Varchar2(80));
    So each tab page 'knows' its predecessor and successor. I then implemented two procedures next_tab_page and previous_tab_page, that iterate the plsql-table and set the canvas_property TOPMOST_TAB_PAGE to the requested value and navigate to the first item on the tab page.
    That way you are mostly independent of the way your form is designed (blocks, items, order in object navigator). It is a bit of an investment and you have to keep it consistent to the way your form changes tabwise, but I found it quite handy.
    Hope this helps.
    Regards,
    Bettina

  • Tab control shows wrong display for selected tab

    My computer crashed when I tried to post this earlier, so I apologize if the first post actually shows up. 
    I have seen this for years so it is nothing new, but I don't remember seeing it in any release notes (sorry if I missed it).
    Upon loading the .vi (or as an executable), the .vi shows the wrong page for the selected tab.  After selecting a different tab, the control works fine.  Also, if you create a property node to read the tab value, it matches the displayed page....just the selected tab seems to be incorrect.
    A work around is to select the default tab before saving the .vi, but why is this happening in the first place?
    Attachments:
    tab_example.vi ‏24 KB

    Hi Stephen,
    The erroneous tab display is something I see on most of not all of my code that uses a tab control (each is a typedef). 
    What change would I make the the typedef?  If I disconnect the tab from the typedef then I will loose the advantages of using the typederf...I will stick with the workaround like I have for the past 3+ years.
    Isn't this a LabVIEW bug since the displayed tab is not equal to the value read from the control?  I have not tried it on this example I posted but in the past, writing to the control does not fix the displayed tab (writing the control may not work since I wrote the same value that LabVIEW thinks is the current value, but the displayed!=actual).
    Thanks,
    Todd

  • Tab control only allows two page selections

    I am having a hard time understanding why my VI only allows two specific tab clicks every time I run it.
    Should I be using shift registers with the "initializing" Tab Controls on the left of the VI before it enters the loop?
    No matter what I do, it will allow me to change the tab controlled pane two times and then it will not react to anything.
    Once I have reached my maximum alloted, two clicks, then the main Cycle abort button will not react either.
    Kind of stumped...  Any help would be greatly appreciated.
    Attachments:
    FP1.gif ‏252 KB
    BD1.gif ‏201 KB

    WOW,
    you realize that two of your event structures are running in parallel with the while loop- and they will only execute once? One event- one event execution event.  The construct "finishes" done! it won't look for another event.
    Take a look at the shipping examples or the P-C QSM (events) template. 
    Your efforts are not bad, but, show a lack of LabVIEW basics-   Dataflow is a different Paradigm-    (AND REALLY POWERFUL)  but you do need to understand what happens when you use constructs that "break data flow" like locals, globals, and event structures and read the caveats in the LabVIEW help file to get grounded in "best practices"
    CAVEAT:
    I've probably "broken" most of the "best practices" guidelines- Intentionally! but I wanted specific things from LabVIEW that I knew would happen without race conditions.  99.995% of my code does not violate the "best practice" rules.  I write a lot of LabVIEW-  It gives me room in that 0.005% to do "interesting" things. 
    Jeff

Maybe you are looking for

  • Computer shuts down without going to sleep

    hello, i've had an increasingly swollen battery with a corresponding diminished life. to a point that it barely fit, lasted ten minutes on its own and when it became depleted, the macbook pro would just shut down without a warning. so i bought a new

  • My safari won't connect to the Internet as it says server stopped responding

    Hi, everytime I try to go on Internet through safari, it won't open the page, the error message is, safari cannot connect as server stopped responding. My ipad has been updated from io6 to io6.1. Internet connects fine through google chrome app.

  • Error in MSS hr process and forms services

    Hi , when i execute the services releated to hcm prcessand forms (asr) im getting the below.Does any one find the solution or this please revert me back Error when processing your request What has happened? The URL http://hr.d.evo.vodafone.com:/sap/b

  • Error while uploading conditions records in MEK1

    Hi All, I have a code that updates condition records in MEK1 from an excel sheet. The no of records in an excel sheet can go up to 60 k records. If i try to upload 5000 records, the coditions records are saved successfully. But then, if I try to uplo

  • On bulitine boards the visited links revert back to unvisited when I close and reopen Firefox

    This began today. When I either shut down and restart the Mac or close and reopen Firefox the links that I had already read revert back to unread status. This began today for no apparent reason. I am running 3.6 because every time I would update the