Tab control in sequence

Hello, 
I'm learning LabView and until I have started making applications I couldn't see how complicated it is. 
I have tried to do VI to choosing in sequence some parameters. After many attempts to solve the problem, the VI it's working wrong all the time. Could you give me some leads how to do that? What architecture should I choose?
The idea is:
- after start VI only Page1 is visible and active
- when conditions for Page1 are correct we could push Next button and go to the next page
- Page 2 is visible and active and so on
- When we achieve Page4 (should be called "Summary page"), that ist summary page, which I not prepare yet
- in any moment we should have ability to go to any page using tabs
The problem is:
- the next buttons are grayed when I select previous page
- there are some problem with reliability, sometimes I push next button and nothings happen or page is visible but not active
I'll be glad about any suggestions.
Regards
__karol
Solved!
Go to Solution.
Attachments:
Tab control.vi ‏34 KB

Thanks altenbach for your post. It is very constructive.
I have changed my program and now it works as it should. It of course requires some cosmetical improvings, but it works. QSM is complicated for someone like me, who started with LabView. 
FYI resetting partNo an foamNo is required to prevent from typing this values from keyboard and instead of it use barcode scanner. Barcode scanner works like paste function. Value just shows up in control.
I didn't know how to go to this same state many times - it is required for Key Focus all the time on proper controls. So I use timer to go periodically to cases depending on in tab I use.
Great thanks for your help,
__karol
Attachments:
Kopia ProducerConsumerData 4.vi ‏85 KB
Current State.ctl ‏5 KB

Similar Messages

  • 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

  • Changing tab control strings

    I found that if I modify the TEST_UUTS string in ModelStrings.ini, I can change the text displayed in my entry point button.
    [MODEL]
    TEST_UUTS = "ATE TEST"
    SINGLE_PASS= "DEBUG"
    Similarly, I made changes to UIControlOperatorInterfaceStrings.ini to change what shows up in the tabs for my Top-Level VI in the TestStand 3.5 Operator Interface.
    [TSUI_OI_MAIN_PANEL]
    EXECUTION = "Test Execution"
    SEQUENCE_FILE = "Test Sequence"
    Now for my questions - one specific, one general
    1) If I add a page (tab) to my tab control (say Quick  BIT), I was told I could just create a contant in CustomStrings.ini and TestStand would grab the text out of that file.
    [TSUI_OI_MAIN_PANEL]
    QUICK_BIT = "Quick BIT"
    How/where does it do that?  I assume this constant (QUICK_BIT) would have to be unique and it would have to be specified in one of the properties dialog boxes somewhere?
    2) In general, where does TestStand use these contants (say, for example, the one for TEST_UUTS)?

    Hi,
    You have to call the TestStand - localize Front Panel.vi, which is found in the TestStand Palette in your LabVIEW. You need to provide the Engine reference which you can obtain from IAppllicationMgr.GetEngine and also a string containing the section name found in your CustomStrings.ini
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Executions on both tab control and list tab

    In my TestStand OI, on the left exists the listbox that contains the Sequence Files and Executions.  On the right is the tab control that shows the Test Sequence only.  Then, when a sequence file is run, the Executions and Report tab appear.  What do I add/change such that the Executions tab is displayed next to the Sequence tab at all times.

    Hi mrbean,
    I am not quite sure how this will benefit you as the Execution tab is solely for executions and when you start up your OI, there is no executions you are running.  However, if you open up the Full OI's block diagram, you will notice a subVI called "Full OI - Show Appropriate Tabs". This is the VI that sets when the tabs are visible. If you change up that case structure for the ListBar (setting the different boolean constants), you can dictate which tabs are visible.
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • Tab control - takes long to change between tabs

    Hi everyone,
    I am using a tab control to display a set of results on each tab. So, I have a tab control with three tabs and each tab consists of 16 indicators which are updated with values. Now, when I run the program, it is taking a long time to switch between these tabs. For instance, if I am currently on Page 1 and then I click Page 2, it takes around 5 seconds to change the tab. I know this should be like this but I cannot understand what is happening. 
    I need help, please. I know it is a silly question but I cannot make heads or tails of it!
    Thanks!
    Solved!
    Go to Solution.

    I would also recommend to streamline the code a little bit.
    For example the cases in frame#1 differ only by some small operations. All that belongs inside the case is the code that differs. none of the local variable seems to be necessary. All that belongs in the smaller cases are the colorbox constants (might be easier to index into an array of colors). If you autoindex on the For loop boundary, you don't need to wire N and you can eliminate the "index array" operation.
    In frame #2, you could autoindex on arrays of references, all in a single FOR loop (same for all the initializations).
    You have race conditions. Initializing all the colors (to the right and left of the sequence structure) all occur in parallel to the sequence structure. You should create a data dependency to ensure things occur in a defined order.
    You can probably eliminate all these hidden indicators and associated local variables. The wire is the data!
    LabVIEW Champion . Do more with less code and in less time .

  • Feedback from the Tab Control

    I have 3 tabs, and each one runs a sequence, in a case associated with the tab control. When I start my program, the sequence found in the active tab (case) runs. I have put 3 Stop buttons (one per tab) to stop each of cases (actually to stop a loop there). After stopping a sequence on a tab, I can press on another tab and change this way the running sequence.
    Now, I'd like to stop any running sequence in a tab's case by just pressing on another tab and this way starting the sequence associated with that tab. This would eliminate the Stop buttons. But how to do it, because just the selection of another tab with the operating tool neither triggers an event nor launches the case associated with that tab?
    I use LabView 6.1 under Win2K. TIA.

    In each of the loops that you monitor the stop buttons, inspect the local value of the tab control and compare it for changed value or the value of your specific case. In either case the logic is the same as your stop button. While( !StopButton AND !TabChanged)
    Stu
    Stu McFarlane
    Viewpoint Systems, Inc.

  • 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

  • Save the selected value from listbox with its respective tab control dropdown selcted values in another listbox

    Hi all,
    I am making a vi where I have to save the selected value from listbox with its respective tab control dropdown selcted values in another listbox.Whenever I select Item1 then the heading change and respective tab will open for that item.But Now I just want to save the selection and put it in another ListBox.SO that I can renmove or add according to my wish. Plz help me.
    Solved!
    Go to Solution.
    Attachments:
    my_vi.png ‏83 KB

    Hi, I successfully make the vi to insert itmes from listbox1 to listbox2.Whenever I select itmes 1 in listbox 1 it display same elected item in listbox2 , but it not appending the items in listbox2.Like If 1 is selected in listbox1 then 1 will display , next time after saving when I selct next item like 3 then in listbox 2, 1 is replaced by 3,it dont come in second row of listbox2.Hope I am able to explain.\
    Plz help me to resolve this.
    Attachments:
    listbox_update.vi ‏11 KB

  • How can I set the tab order of text box controls on each page of a tab control?

    I need to be able to select the tabbing order of individual controls on a single page of a tabbed control. How??

    In LV 6.1 an up you should be ablel to right click on the edge of the tab control when the tab-page in question is selected.
    The bttom selcetion in the pop-up is "Reoder controls in page..."
    selecting this option will switch editing modes to allow you to specify the ored, just like in a cluster.
    I seem to remeber in older versions you had to drag the tabable controls off the tab control, specify the tabbing oder and then drag them back on. The oldest version I have on this machine is 6.1 so that all I can speak for at the moment.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can you print all the tab control's contents and include the tabs?

    We are trying to generate a report that includes the contents of a tab control (graphs, text).  Using the Append Control Image to Report.vi, we are only able to print out the active tab and the tab is cut off of the image. How can we generate reports that include all the tab pages and their contents and include the labeling tabs?
    Thanks in advance.
    Jim

    I do have a workaround for makinging the prints but it looks like some sort of cropped screensave that cuts off the tabs.  In my sample I was printing out 3 of the tab controls and you can see there are three by the cut off tabs.  Is there a setting to allow for more of the graph and its surroundings to be "captured"?
    Attachments:
    Document.pdf ‏53 KB
    Document (2).pdf ‏51 KB
    Document (3) (2).pdf ‏58 KB

  • How can I Create a exe file were a tab control on it work`s

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?"
    Attachments:
    project7.1.jpg ‏129 KB

    Make the tab control a control and not an indicator. If you want to write
    to it you need to create a local variable.
    "Carlos-R." wrote in message
    news:[email protected]..
    I have a VI with many controls and indicators,these are spread on a
    tab control.This tab control works with out any problems but if i
    create a exe file then the tab control is fixed. How can I create a
    exe file so that the tab control on it work´s ?"

  • How can I create a exe file with a tab control on it that work´s ?

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?

    I have made a new Posting with the same question but this time I added a screenshot of the VI.
    Attachments:
    project7.1.jpg ‏129 KB

  • Data Origin Types not filled in the tab "Control Data" of BP interface

    Hello experts,
    I have loaded the clients from ECC6.0 to CRM 4.0.
    Before I have loaded the clients I have maintained the data origin type for the BP in spro -> cross application components -> SAP Business Partner -> Business partner -> Basic settings -> Data Origin -> Maintain Data Origin Type.
    After I have done the load initial of clients, the field  "Data Origin" is empty in  the tab "Control Data" in BP interface. If I do F4 in the field appear the configuration that I did in spro appear.
    For this field will appear filled I'll need to do more configurations in spro?
    Best regards,
    Mary

    Hi Mary,
    The middleware does not fill this field in BP master data. You can maintain data origin type in SPRO, however the mBdoc does not use this customizing in order to fill this field.
    Please try to use the BADI CRM_DATAEXCHG_BADI in order to fill this field during master data download.
    It hope it helps.
    Regards,
    Gabriel Santana

  • Horizontal tabs when they are on the left side of tab control

    I have a tab control for a touch screen where I was going to use buttons along the left side to change tabs, and hide the tabs. However, I realized I can put the tabs on the left side of the tab control and remove my buttons all together. Only issue is, I would like them (along with their font) to be horizontal, not vertical as they are shown in my screenshot. Is there a way to change this?
    CLA, LabVIEW Versions 2010-2013
    Solved!
    Go to Solution.
    Attachments:
    touchscreen.PNG ‏118 KB

    It's a really poor design aspect of tab controls that the text is sideways when the tabs are on the left or right side.
    I've looked into it and found no way to re-orient the text.
    However you can put images on the tabs instead of text, and the images can be of text (correctly oriented of course).
    The attached code can be used to generate such a tab control.
    Attachments:
    Create_Good_Tab_2.llb ‏98 KB

  • How to hide a tab in a Tab Control by Property Node?

    Hi,
    I have a Tab Control in my Front Panel. So, using a array of LEDs, I would like to hide some tabs, probably using Property Node functions, but I can't find what option do it. Is it possible?

    Thanks Macro!  I came to the forum to find a solution for this exact problem, it's nice to find it already laid out for me so clearly. 
    -Joe

Maybe you are looking for