How to start two events different loops depending on tab selection

Hello

I have a tab control with two tabs and various controls and indicators on the subject.

In the background is a while loop that contains a structure of the event which reacts on the different button-"change value" - events.

There is one "end"-button on the Panel that stops the loop. "."

Now the question:

How can I add a while loop second with a second structure of the event and depending on the selection tab that the corresponding loop should run.

Because I would like the events of two separate tabs.

I think that it s possible to wire the stop at the value tab loop but how do to restart the loop?

Thx for the help

Iliale wrote:

Why is the event in the attachment execution?

If I have the wiring on the right side of the DI_1:ValueSignaling property, then it still runs and can only be stopped by the Task Manager...

THX

Because every time you write for the value property and event signage is queued up.  This occurs even if the value has not changed.  You probably want to add a registry node or shift of feedback to ensure the follow-up of the State of the LED.  XOR the current value with the previous.  If the XOR is true, it means that the value has changed.  Only write in the property node when the value changes.

Tags: NI Software

Similar Questions

  • How to start a job using DBMS_SCHEDULER depending on the result of other JOBS

    How to start a job using DBMS_SCHEDULER depending on the result of other JOBS

    For example I have two jobs A and B of EMPLOYMENT, I would like to start JOB B only when a JOB is complete, is an option like that?

    Hello

    Yes, you can create a channel with the Scheduler, see the documentation:

    Creation and management of channels of employment

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/scheduse.htm#ADMIN10021

  • How to create two accounts (different passwords / different e-mail addresses)

    From the outset, does not yet have a Surface, I am seriously considering the purchase of a.
    In fact, I still have donot have a tablet at all :-)

    I heard that - starting from 4.2.2 - Android, it is possible to create multiple accounts.
    This is important to me.

    Would like to know if it is possible with 2 surface. Meaning:
    -Two accounts
    -Two email addresses
    -Two log-in codes, according to the entered login code, either the first or the second account (environment) is launched.

    Where to find the "How to" step by step?

    Thank you!
    =

    Yes, you can add additional accounts to your Surface. You can add additional administrator, child accounts, and user accounts. Details below.

    http://Windows.Microsoft.com/en-us/Windows-8/user-accounts-frequently-asked-questions

    http://www.Microsoft.com/surface/en-us/support/security-sign-in-and-accounts/all-about-accounts

    http://www.Microsoft.com/surface/en-us/support/security-sign-in-and-accounts/sign-in-and-out-of-surface

    Hope that the above is useful.

    Sean

  • How to use radio buttons to display different text depending on the selected button?

    I am new to acrobatXi and have been implemented on-line to fill PDF Forms.

    I have 3 radio buttons in a group (Group 1) choice1, the lendemain2 and the 3 choices.

    I would like a text box to display the text "price" If you selected option 1, the 'price B' If you selected option 2 and the ' price C "If you selected option 3.

    I have no experience of java, so any help would be appreciated.

    Use this code in the custom text field calculation script:

    var v = this.getField("group1").valueAsString;
    if (v=="Off") event.value = "";
    else if (v=="choice1") event.value = "Price A";
    else if (v=="choice2") event.value = "Price B";
    else if (v=="choice3") event.value = "Price C";
    
  • How to set fire to a single event "mouse down" when a tab control and its digital control have all two events 'mouse-down' with different function

    Hi all

    I have a digital control in a tab control. Both of them have their own events 'mouse-down' in a while loop. But when I click on the digital command, instead of raising the event of digital control only, both of these two events fired.

    Maybe I can check if the mouse is in the range of digital technology to filter events, but if the window is resized, I have to recalculate the range once again.

    Is there another way to do it?

    I pasted the test code too.

    Thank you!

    Excerpts of work

    Side note: I really don't like the controls on the tab and use them very rarely.  And the few times I use them, it is for tabs to which I often use to select among the screws to put in a secondary school.

  • Two time of different loop and each FPGA implementation

    Hi, experts LV!

    I wondered that two different loops in the FPGA are possible to implement with the speed of each loop.

    Ex) SCTL and While loop in a same FPGA VI

    SCTL = 1 vs tick while loop graduations 43 (execution of the loop)

    Also, is it possible to transfer the T/F of SCTL signal any loop in a same FPGA VI via a local variable, even if they run different as loop above speeds?

    Yes you can.  Rather than ask, you might have just tried.  It would have been much faster for you.

  • How to import the two files different cod as a forground and background in the unique alx for a same device

    Hi all

    I created two cod different files such as application of function two diffirent for one device with the same name of the application, but the names of code files are different how you can import them into BB Desktop manager with alx

    Please help me to do this.

    You can add the cod file in the section of the alx file

  • Oracle how to multiply two columns of different tables and results

    Oracle how to multiply two columns of different tables and get the result in the third column?

    I want to multiply all the lines of the quantinty column in the table of quantity with the relevant lines of the table of prices price column and get the result of multiplying in the third column. What should I use procedure trigerr? OR IS IT POSSIBLE HOW TO DO IT PLEASE HELP :D

    Edited by: 994229 2013-03-15 12:44
    /* Formatted on 3/15/2013 3:51:08 PM (QP5 v5.185.11230.41888) */
    CREATE TABLE mytable1
    AS
       (SELECT 1 id, 5 VALUE FROM DUAL
        UNION ALL
        SELECT 2, 7 FROM DUAL
        UNION ALL
        SELECT 3, 8 FROM DUAL);
    
    CREATE TABLE mytable2
    AS
       (SELECT 1 id, 4 VALUE FROM DUAL
        UNION ALL
        SELECT 2, 12 FROM DUAL
        UNION ALL
        SELECT 10, 12 FROM DUAL);
    
      SELECT id,
             mytable1.VALUE,
             mytable2.VALUE,
             mytable1.VALUE * mytable2.VALUE product
        FROM mytable1 FULL OUTER JOIN mytable2 USING (id)
    ORDER BY id;
    
    ID     VALUE     VALUE_1     PRODUCT
    1     5     4     20
    2     7     12     84
    3     8
    10          12     
    
  • How to start a workflow by an event

    Someone knew how to start a workflow OWB after an event occur?

    In my application, the workflow must begin (and import data) after a record OWB is insert in one of my table of database application. In fact, I schedule a task to watch every minute in the table. The problem is that every minute, a connection is open and close on the application database. In addition, the user must wait for a minute (maximum) before work is begin process. Can anyone have a way to start OWB on the event using the trigger, queue or something else?

    Thank you

    MB

    UAS (your_OWF) .wf_engine. LaunchProcess (item_type, item_key, nom_processus);

    If your process is defined as:

    Module: PRC_MODULE
    Process_flow_package: PRC_PACK
    Nom_processus: PROCESS

    then ITEM_TYPE is PRC_PACK,

    ITEM_KEY can be anything, like p_process_name. » _'|| SYSDATE to ensure that it does not get doubled.

    and nom_processus is the PROCESS.

    So, when you call this function it would look like this:

    UAS (your_OWF) .wf_engine. LaunchProcess ('PRC_PACK', 'PROCESS_24072009120000', 'PROCESS');

  • How to get out of a loop of 2 different conditions

    Hello Experts

    I'm writing a procedure in which I take the PROVINCE as an input parameter. All provinces are stores in a table. I use a cursor variable and rowtype to control the province. After I find province I displays its code and province. Everything works very well wait for me if I can't find the province. I don't know how to get out of the loop, if I can't find the province. I already use the output when the condition. I was expecting another condition should function and must break out of the loop, but it doesn't. Can you please someone show me how to get out if I can't find the province in the table through the cursor.

    Here is my code

    Set serveroutput on
    variable G_TAX varchar2 (10)
    CREATE OR REPLACE PROCEDURE p_create (i_state VARCHAR2) is
    CURSOR cur_bb_tax is
    Select * from bb_tax;
    bb_tax_details bb_tax % rowtype;
    Start
    If it is cur_bb_tax % isopen then
    Open cur_bb_tax;
    end if;
    loop
    extract the cur_bb_tax in bb_tax_details;
    If (bb_tax_details.state = i_state) then
    dbms_output.put_line (bb_tax_details. State | bb_tax_details.idstate);
    end if;
    When the output bb_tax_details.state = i_state;
    end loop;
    close cur_bb_tax;

    exception
    while others then
    dbms_output.put_line (SQLERRM);
    end;

    Thanks in advance

    ....
    loop
    extract the cur_bb_tax in bb_tax_details;

    IF (cur_bb_tax%notfound) then  exit;END IF;
    

    If (bb_tax_details.state = i_state) then
    dbms_output.put_line (bb_tax_details. State | bb_tax_details.idstate);
    end if;
    ....

    SIM

  • How to compare two different backgrounds

    Can one tell me please how to compare two circles as DEVL test?

    I don't know how to compare a project (like DEVL test) but I want to see all the changes in all the objects between two different backgrounds.

    Please help me.
    Thank you.

    use AppDesigner, navigate to tools / compare and report / database

    The target DB access code,
    Press Options
    comparison of Goto tab options & select compare Type = database

  • Initiation form of different workflows depending on the type of inquiry?

    I have difficulties to get a form to start different workflows depending on the type of investigation. I followed the instructions described here without success.

    I created two workflows: ID746065 and ID746066. Each workflow sends a notification e-mail to the various departments. I have the following code in my form:

    "< select name = WorkflowList" class = "cat_dropdown" >

    "< option value =" ">--please select--< / option >".

    < option value = "ID746065" > notify sales < / option >

    < option value = "ID746066" > notify Marketeing < / option >

    < / select >

    It does not work.

    In the Site Manager = > Web Forms = > Web form properties = > use the workflow, I 'not to use a workflow' selected. Is this correct? I want the form to select the workflow. If I change "Use Workflow" to one of my Workflows, it send an email, so I know the Workflows are correct. How can I get the form to dynamically select the workflow?

    I don't think you need to 'ID' before the workflow ID number.

  • structure of the event + while loop

    Hello, I am trying to understand how to unite two while loops in attached VI for half a day

    The first loop creates a state machine solid which reacts on each key and runs one of the structure cases. (that part works very well)

    The second loop, always generates the random number, but it stops the generation during the time where one of the structure cases events are executed. (this is the part ticky)

    Any suggestions?

    If you want your random number to stop so that the user triggered events are running, you should be able to simplify your design a lot.

    It can be done with a loop using the case of timeout.

  • generate the event user triggers two events structure

    Hello

    I would like to generate a while a user event that triggers events in two or more loops loop event.

    I have attached a non-fonctionnel project VI, so easier to show what I would understand.

    My experience is that user generated event cause that a case of Structure of the event, not both. Why? What if I want the two loops of the event that will be raised? How can you make with the user event?

    Maybe someone could explain this a bit deeper?

    Thank you very much!

    Kind regards

    PS. : new problem with forum upload file...

    So here's the VI in my dropbox:

    https://DL.dropboxusercontent.com/u/8148153/draft_to_show.VI

    Classic mistake.

    You need TWO 'register for events', the output of each class to a separate structure of the event.  Then it won't work.

  • How to combine two video projects in Windows Movie Maker?

    How to combine two projects?

    I started a project and I would like to import and more old project to combine.

    I guess that you are referring to the project .mswmm files?

    The following steps may be worth a try:

    Reach... File / open project... Select a project file.
    When the project appears on the timeline... go to...
    Edition / select all.

    Open a different project... to... Editing / paste.

    Now the content of the two projects should be on
    the chronology.

    To add more doing the same thing...

    Edition / select all... open a project... Editing / paste

    Another method would be to publish (save) each
    the project in film WMV format and then re-import
    both WMV clips and slide both to the
    timeline. Then, you could publish it as a simple video.

Maybe you are looking for

  • Mark keywords to multiple images

    Until now it always works perfectly for example mark 20 photos and and put a keyword by one shot. Now it works only by a photo. Opening 3.6 OSX 10.10.5 Yosemite.

  • Vista - I have no internet, but I get auto updates

    I don't have access to internet at home.  All my neighbors WiFi are secure.  But I regularly open my laptop to find the autouploads have taken place. MS a 'whisper' system works in New York for downloads?

  • HP envy 4500: color photo printable

    I am trying to print a picture on paper glossy 4 x 6. I get a message that the minimum margins are not fulfilled and it will not print my picture. I searched HP for more information but can't find anything on this problem. Can anyone help? Rhody81

  • Pagefile is no longer on Windows 7 PC

    No matter what I do, what settings I change, after I made the changes that the PC reports that a new paging file must be created and the computer must be restarted.  After the restart there is no paging file and the system barely works. sc config afs

  • WCS: Is the name of the controller of tertiary sector mandatory?

    Hello I have improved my WCS to 4.2. After that, whenever I want to configure an access point I get an error message "" name of the controller of tertiary: this attribute is MANDATORY. "." Please specify ". How can I disable the which? Thank you