Tab control problem

Hello... I have a problem with the tab control function. I can't control my balance both at the same time. 1 scale buttons do not work when I press 'run', if I start to control the scale 2 and vice versa. My VI is uploadet

What did you expect to happen?  You have a structure of cases than the outermost structure onto your comics with the tab as the selector!  You only read the tab once and run only 1 dependant matter which tab is selected when you press run.

Try to initialize VISA sessions and chose one to connect with relaxing on the change of the Valley of the tab event

Tags: NI Software

Similar Questions

  • Problems with the help of control Edit Expression with tab control

    Hi all

    I am facing a strange problem when using Expression Edit Control with a tab control.

    When I put the Expression of the RichEdit controls on several tabs in a tab control, and when I run the application, the Expression Edit controls in a single tab are visible, others get invisible! I do NOTHING with them, but they do not simply show upward!

    I first faced this problem using Expr editing controls in Visual Studio c#. NET - with tab controls. For verification, I created a simple VI is LabVIEW to see if the problem is with my request / problem with Expression Edit controls in c#, etc. But voila!  A similar behavior in LabVIEW too! 

    I'm doing something wrong? OR do not do something right? Ask someone for help please ASAP!

    Thanks a ton in advance!

    DASI

    PS: Attached the VI here (LabVIEW 8.5) just download and run it, and you will see probably what I'm talking about!


  • Other control problem faced in the tab with flashing property control...

    Ay one can help me?

    I send you a vi, in that I face a problem with the tab control. So I put a list on page1 tab control multi-column box and apply the flashing on her property that at run time the flashing can visible on all pages of the tab control. It shouldn't be like that. The flashing can only visible on page 1. Is this a bug in Labview? or is this only? How solv it?

    Thank you for your support

    Marlow

  • problem with changing the order of tab on tab control

    Hello

    I am aware that the same question has been asked over three years - but I can't yet find the problem in what I'm doing...

    Description: I have two controls tab, A tab with three tab and tab B with two controls on a Panel. For the following discussion, tab B is of no interest. Each tab control has several numerical indicators, of type integer and double. Now, I want to add a fourth tab control to A tab. This method works.

    Following and problematic stage, in the Publisher of the IUR I select the new tab (most right) and move two positions to the left. It's still ok until I try to display a numeric value of order of tab 3 (the new tab control is left to it). I get an error in calls to SetCtrlAttribute, complain about an invalid control ID... However, I didn't touch any control over the tabs, or add a new control. In addition, I did not touch the generated include file... Visual inspection did not show any changes in the include file (the new tab control is listed only when certain controls are added)

    Posting numbers on the first/far left tab control work only on 3 and 4 which are suitable for the new (and still empty) new tab will generate this error. Adding a control to the new label does not change the bahavior.

    Help is appreciated!

    Wolfgang

    Wolfgang,

    When you get the handle for your tab using GetPanelHandleFromTabPage:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 0, & TabHandle);

    the third parameter is an index for the specific tab you want to address.  If you change the order of the tabs, you can change the index, too.  For example, assume that you have a digital control on the third tab from left to right.  You want to assign some value, so this, you:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    SetCtrlVal (TabHandle, TAB_numMyNumeric, 1);

    Now, you add a new tab to the left of the tab with the digital contorl.  The new tab is now index 2 and the original tab is index 3.  When you call:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    you get the handle to the new tab.  There is a control with the same ID as TAB_numMyNumeric, so that you get a runtime error.

    Personally, I like to use an enumeration to my tabs so I can keep the lines:

    enum {MY_FIRST_TAB, MY_SECOND_TAB, MY_THIRD_TAB,...};

    So if I redesign the tabs or add a new one I just re - order enums and everything works fine.  Also, I used the same names in my constants of tab, to help keep things straight:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_FIRST_TAB, MY_FIRST_TAB, & TabHandle);

    Tony G.

  • Tab control + Vi script problem

    Hello

    I have a tab control in my sub vi, which in turn has a secondary (let say sp) now I have an another vi which must be loaded in the secondary of the tab. But I get an error message saying invalid reference vi in insert vi. Opening a vi reference in Panel tab gives this error.

    I understand where I was wrong. I close the reference Vi before even that I am trying to load it in high school.

  • problem with the tab control type def

    Hello community,

    There is still much more to learn more about LabVIEW.

    I have a tab control which is a (non-strict) type definition. It has 5 tabs with indicators.

    When I open type def and insert another tab, say three position and close type def, the tab on my fp control will of course win the additional tab.

    But the new number three tab will contain this as the former number tab three content and only the last tab will be empty.

    This isn't what I wanted. I think that I am doing it wrong.

    Is it possible to get an empty tab posted on three without defeat the purpose of a def type (because obviously I could decouple the def of type control, insert the tab and do a new type def).

    Best regards

    Florian

    Florian,

    I hope that you will display the tab as a user interface control in one place. In this case, you can have a typedef enum to subVIs and disconnect the the typedef tab control.

    Thank you

    George S

  • Tab control acts like it is off but no

    I have a tab control that has ceased to operate at run time. It acts like it is off when turned on. At the time of editing, I am able to click on the tabs and they change visually. When I run it, by clicking on the tabs does not change tabs.   I reduced the vi to a simple loop with a delay of 200ms and the tab, with nothing else. The controls on the tab is the only thing in vi.  I made sure that the tab is enabled in the Properties dialog box. I noticed a strange thing: the Navigation tab button (in properties), it is all grayed out.  Once again, the control tab in in fact active, but it behaves as if it was not. I tried to recompile. Is there another setting? Why key naviation is grayed out? I'm using LabVIEW 2015.  Thank you!

    Ooops! Problem solved. I did somehow accidentally changed to a flag! Sorry for the premature post.

  • Resize the object inside the tab control

    Hello

    I have problems with the design of a user interface. I need to have multiple controls resize with panel inside a tab control.

    I see it right, there is no way to have a resize done inside a tab with decorations control that separates controls?

    I have not yet checked LabVIEW 2013.

    I have attached a vi in LV2012 as an example.

    Thanks in advance.

    Yes it is a feature I've wanted also over the years.  Here's the first result that I got from the exchange of idea, but I think that there are duplicates autour.

    http://forums.NI.com/T5/LabVIEW-idea-exchange/ability-to-fit-scale-object-within-tab-control-page/ID...

    Basically, you can't do nativly but you can trick it work for you.  You make a tab that is false the user interacts with, changes to the value of another tab that things in it and then you fix every thing you want it is in the tab where it is demonstrated.  This works well if the thing in your tab is an element able to evolve to adapt to it, but if in a tab, you have a chart and another you have a bunch of buttons that should not change, then you will get a strange behavior.  You can tell the chart is more scope to this component, but then you lose the 'ladder while resizing objects' that make a lot more native user interface research.

  • Tab control: chart automatically resets when I switch between tabs

    Hello world

    I'm having a problem with a user interface. : mansad:

    I use a tab with two tabs control to switch between the two graphs. A graph shows data from a production machine (tab 1), the other a data from a measuring probe (table 2). Now, when I switch from tab to tab 2 1 and return, graphic of tab 1 is empty and begins to show the data from the moment of return too tab 1. Tab 2 data are not reset, but are constantly updated, even when the 1 tab is open. I'd like to tab 1 to behave like tab 2. It must be constantly updated even when tab 2 is opened and the data should not be reset after between tabs.

    Making machine is connected via a server (Data tab 1, Figure 1), the data from the probe are written a queue and comes from (Data tab 2, Figure 2). It's all part of the main VI. This part is shown in Picture 3. Here, historical data are reset to zero when the program ends. But I can't understand why it does not work as I want.

    Can anyone help?

    Thank you!

    OK, there are very strange things happening here, in addition to the problem you are having (which, I admit, I don't see yet why you have a problem).

    First of all, I've never met such a structure of strange and deeply nested directory for LabVIEW code as what you posted: Users\AB\BC\CD\DE\EF\FG\GH\HI\IJ\.  Why in the world you have an empty stack of sense files / directories to go?  Very, very strange.

    You view multiple charts using waveform graphs.  Do you, indeed, assemble an array of waveforms to display on the chart, but the waveform consists of a single point, 'built' in a table, with a current timestamp as t0.  Instead of going to all these efforts, you can simply group your data points in a Cluster and show that.  Your X axis will not display "Time now", but if you know the sampling frequency, you can adjust the X scale so it displays 'Time' in practical (such as seconds) since the beginning of the sampling units.  Note that you already have one such cluster (at least in the reading process data - the data output Process value - which can be connected directly on the diagram of fluid bed without the need of the Signalverlaufsdiagramm).  It could, in fact, "fix" your problem (but I'll let you test this).  You will need to do a similar Cluster Bundle in sight Parsum data and output the cluster instead of the table in order to test this idea.

    Bob Schor

  • tab control

    Hi guys,.

    I have a stupid problem, I have a tab of the strict data type control. where I have 3 tabs. I need to run 3 different data as acquisitions for example

    first tab indicates the Distance

    second tab shows strength

    Third tab shows the Position of the engine

    The problem is each acquired their respective tasks shd sensors data and it must be enabled when I click on the

    tab1 distance shd be on

    tab2 force shd be on

    3 position tab to be

    Maybe get an indicator as a Boolean variable when I see n click on the tab and stop it when I switch to the next tab?

    Do you use a design as model - PC etc...

    In a structure of the event, you can define Tab Control Change of value

    The new value of the Tab control will give you the tab on which you

  • Inexplicable delay between the evolution of the tab control pages

    Hello dear OR Forum.

    I have a strange problem.

    In my program, I use a tab control.

    On a change in the pages of pc immediately once the user clicks on the other page, but on another pc it is delayed (approx. 1 second) until the new page is displayed. The rest of the program works with the same "speed".

    You have an idea why this happens?

    The main program includes a while loop with a delay of 25ms. In the loop, there is a case structure, cases are different pages of the tab control.

    (it's the same exe file)

    Thank you.

    Alex

    Tabs changing pages require a screen refresh if at least the graphics adapters could make all the difference.

    More memory in the faster machine...

    The slow mahcine there a virus check or other processes that use CPU?

    Ben

  • Create a journal in the tab control tab and create tab is disabled and grayed out

    Hello

    Can you helpme to solve my question about the connection in the tab control? So basically I have two pages in a tab control, page 1 contains, log in as user name, password, and login button and second page is nothing. After the user has entered the correct user name and password in the form of a string, page 1 will be disabled and grayed out and automatically will be on page 2? I also download the vi that I created and please correct me if I have a problem with my vi.

    Please help me with this ASAP, because I have assignment based on the view of any customer lab server.

    Thank you


  • Get all reference - modified controls: problem with LV2009 (and not LV8.6.1)

    I modified reference.vi get all the controls (http://zone.ni.com/devzone/cda/epd/p/id/2902) and it works very well in LV8.6.1.  With LV2009, I get the class conflicts of wire (for references).

    With LV8.6.1

    With LV2009

    I tried to type cast (more generic class) but it doesn't work, someone has an idea to solve the problem?

    Jean-Marc

    I agree with you,

    I made the changes as soon as this morning.  I just need the reference of the tab control itself (I don't need references from pages). I used 'generic' instead of 'control' and I catalogued to a more specific class (control) in step 5 in the block diagram.


    Thank you

    Jean-Marc

    The changed files are available at http://forums.ni.com/ni/board/message?board.id=4170&thread.id=30464 (I apologize to not upgrade this post).

  • Tab control tab

    My goal is more

    When I press the tab A tab control test, the B tab should disepear in the test tab control and only the tab should be visible in the control tab of test2 (not grayed out). The same thing can happen when B are pressed, wil say will be visible only.

    In other words, I want to use a tab control to control other tabs visible tabcontrols

    Problem solved here.

    (Do not create another new thread on the same topic.  He loses popular time because you do not give them the advantage of seeing what happened on the issue already.)

  • TAB control move out

    I would like to Exchange 2 graphics: 1 is inside a tab control, the other is located outside of the TAB control.

    Problem: The tab control extends when I change positions and I don't want that.   I want to just trading cards without changing the TAB control.

    Thanks in advance!

    I don't think that you can only add/remove objects in a tab when running easily control.

    But I'm sure that there is another solution:

    • If only a chart is visible at a time, you can place the two graphs on top of the other and use the visible property to switch
    • Only use a chart and feed it with appropriate data
    • Keep the two graphs, but instead of switching graphs just pass data
    • Contains the two graphics outside of the tab control and move them just "over" on the tab control programmatically (like what happens to your "Graph on the outside"). If you use this solution, you will need to show/hide the chart during the passage of the tabs because that would be on top of all the tabs.
    • ...

Maybe you are looking for