Conditional button

Hi everyone.
I'm trying to make a program as attached this post.
I want to create a button that when an element of the array meets a condition (<45 as in the example):
         - If you push the button during a limited duration (for example 5sec), the loop will execute continously to finish the program.
         - If you dont push the button in 5sec, the loop will stop.
I'm a beginner so hope anyone could help me.
Attachments:
Example 1.vi ‏11 KB

Hi guys.
Firstly, I'd like to thank all of you for taking care of my problem.
Following my VI, my idea could be described like this:
- There are 8 loops executed by a for loop. In each loop, it takes 1 element of an array to compare with a constant (45 as I set). When 1 element > 45 (at the 6th loop), the comparison block generates a true signal that will stop the loop. However, I need a kind of permission by using a button, if I push it (on) within 5 secs(for example), it will change the logic signal from the comparison from true to false so that the loop can excute continously. If I dont push it (off) or do it after 5sec, the logic signal will stop the loop immediately.
Is it possible in Labview to implement a function like that? Or do you have any idea to deal with this problem 
@Ranjeet_Singh: Thanks for your help but its not the way I'm thinking of. Hope you understand my problem and would help me to solve it.
@Strokes: Sorry, I dont get your point. Could you please show me more detail about your idea?

Similar Messages

  • Conditions button in PO history

    Hi All,
      My client is creating PO with respect to contract which is having price determination category as "5 - GR date". But for some PO's under PO history tab, the conditions button is not appearing and for some PO's its appearing. Please refer attachment. Can you please tell me on what basis that conditions button will be displayed? client is asking why its not appearing for some PO's. Please clarify.
    Regards,
    Prasath

    Hi,
       Please check the info record / contract for both the items in ME12 / ME32K, whether the pricing date category is maintained correctly. If the pricing date category is maintained in info record, then the condition button will appear in the PO history. Else it wont.
    Regards,
    AKPT

  • "Conditions" button at the material master - Change the related condition

    There is "Conditions" button at the material master ("Sales: sales org. 1" tab). We can make condition record of PR00 by this button but at our system the condition for the material price is different (it isZPR0 at our system). How can I change the related condition type as ZPR0 for this button?
    Thanks in advance for the answers....

    Check program LMGMMF0Q and FUNCTION SD_COND_GET_DEFAULT_CONDITION for details.
    It looks it is hard coded, but they also mention that Via a user exit (business transaction event), the
    default KSCHL and KOTABNR can be set.
    Regards,

  • Condition button on webtemplate

    dear all,
    i've got some basic question on using web template to include the "condition" button.
    In my webtemplate, i've added the webitem for condition, the question is, are there any settings i can use to include a button to hide or show the web item for condition?
    thanks in advance for your reply.

    In that case you will need to modify the report query to conditionally show the 'Edit' button. Something like
    select
    case when deptno=user_deptno then
       '<a href="f?p=&APP_ID.:2:&SESSION.::::P2_EMP:' || empno || '"><img src="#WORKSPACE_IMAGES#edit.gif"></a>'
    else
       null
    end empno
    ,ename
    ,deptno
    ,sal
    from emp
    ,(select  user_deptno from user_dept_table where user=:app_user);varad

  • Gray out item level conditions button in T-code VA02.

    Hi Gurus,
    Here i have one requirement , i want to gray out one button je in Item level Condition button is there in VA02.
    If any one no how to gray out button than please tell me.
    Thanks,
    Namdev.

    NO, not 'update' button its 'Condition' button. and plz tell how to do that?
    Thanks,
    Namdev

  • Create conditional button

    I have searched the forums and don't understand the explanations because I am a total Apex beginner!!!! So, sorry if this is a duplicate question.....
    I have a form and a report on the same page, but different regions. I deleted the CREATE button from the report since the CREATE button is already on the form. The CANCEL button also shows up on the form. But, I only want the CANCEL button to show up if I"m editing a record, in other words, if the field "Region_Code" is NOT NULL. I tried the condition option via the CANCEL button properties, but that does not work.

    Which option did you select from the 'Condition Type' list and what did you put in 'Expression 1' for the cancel button item?
    You should use Condition Type: Value of Item in Expression 1 is NOT null and then put the name of the item that holds the REGION_CODE, i.e. P1_REGION_CODE into the Expression 1 field.
    Earl
    Message was edited by:
    Earl

  • Conditional button based on client's IP address

    i know this is not secured, but ....
    I have little app with no login. It is a documentation for our project, it uses a tree, .... bla bla bla
    nobody can change anything (it is really just a few pages of documentation). I want one, just one, user to be able to edit one form for next few weeks. My idea was to add "SAVE" button and make it conditional based on his IP address or computer name. Is there a way how to do this?
    thanks
    jiri

    Just make the button conditional upon the following PL/SQL expression
    owa_util.get_cgi_env('REMOTE_ADDR')='xx.xx.xx.xx'Best practices: You should create a named authorization scheme with that code (returns true/false to allow/deny access) and attach that scheme to the button and any After-Submit processes that actually does the save.
    Hope this helps.

  • Conditional Button and passing value

    Hi All,
    Thanks in advance for any help. I am trying to condition a button to redirect to a certain page under certain conditions. I have the link going to the correct page however for some reason the id is not being passed. What am I missing in the link to pass the id to the page?
    SELECT CASE
    WHEN EMP_GET_FUNCTIONS.GET_CLIENT_STATUS(EMP_CLIENT_TEMP.ID) =
    EMP_GLOBAL.GET_REG_STATUS_PEND_REFERRAL THEN   
      '<a href='
      || 'f?p=&APP_ID.:601:&SESSION.::&DEBUG.:601:#ID#:'
      || ID
      || '>'                
      || '<img src="#IMAGE_PREFIX#ed-item.gif" alt="">'
      || '</a>'
    ELSE NULL                              
    END LINK,
    EMP_CLIENT_TEMP.ID,
    EMP_CLIENT_TEMP.PERSONAL_LAST_NAME,
    EMP_CLIENT_TEMP.PERSONAL_FIRST_NAME,
    EMP_CLIENT_TEMP.PERSONAL_MIDDLE_NAME,
    EMP_CLIENT_TEMP.LOCAL_MAIL_PO_BOX_NUMBER,
    EMP_CLIENT_TEMP.LOCAL_MAIL_POSTAL_CODE,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_APT_NUMBER,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_STREET_NUMBER,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_STREET_NAME,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_DISTRICT_ID,
    EMP_CLIENT_TEMP.AVAILABLE_FULL_TIME_YN_ID,
    EMP_CLIENT_TEMP.AVAILABLE_PART_TIME_YN_ID,
    EMP_CLIENT_TEMP.AVAILABLE_SHIFTS_YN_ID,
    EMP_CLIENT_TEMP.AVAILABLE_WEEKENDS_YN_ID,
    EMP_CLIENT_TEMP.WORK_STATUS_ID,
    EMP_CLIENT_TEMP.EDUCATION_LEVEL_ID,
    EMP_CLIENT_TEMP.SKILLS,
    EMP_CLIENT_TEMP.CONTACT_HOME_PHONE,
    EMP_CLIENT_TEMP.CONTACT_HOME_CELL,
    EMP_CLIENT_TEMP.CONTACT_HOME_EMAIL,
    EMP_CLIENT_TEMP.CONTACT_HOME_FAX,
    EMP_CLIENT_TEMP.CREATED_ON,
    EMP_CLIENT_TEMP.CREATED_BY,
    EMP_CLIENT_TEMP.PERSONAL_GENDER_ID,
    EMP_CLIENT_TEMP.IMMIGRATION_STATUS_ID,
    EMP_GET_FUNCTIONS.GET_CLIENT_STATUS_DESCRIPTION(EMP_CLIENT_TEMP.ID) STATUS
    from EMP_CLIENT_TEMP

    Hi,
    You have similar issue as in this post
    How to pass request in to <a href="f?p=&APP_ID.:7:&SESSION.::&DEBUG.:::</a>
    You query should be probably something like
    SELECT CASE
    WHEN EMP_GET_FUNCTIONS.GET_CLIENT_STATUS(EMP_CLIENT_TEMP.ID) =
    EMP_GLOBAL.GET_REG_STATUS_PEND_REFERRAL THEN   
      '&lt;a href=f?p=&APP_ID.:601:&APP_SESSION.::&DEBUG.:601:Px_ITEM_NAME:' || ID || '">&lt;img src="#IMAGE_PREFIX#ed-item.gif" alt="">&lt;/a>'
    ELSE NULL                              
    END LINK,
    EMP_CLIENT_TEMP.ID,
    EMP_CLIENT_TEMP.PERSONAL_LAST_NAME,
    EMP_CLIENT_TEMP.PERSONAL_FIRST_NAME,
    EMP_CLIENT_TEMP.PERSONAL_MIDDLE_NAME,
    EMP_CLIENT_TEMP.LOCAL_MAIL_PO_BOX_NUMBER,
    EMP_CLIENT_TEMP.LOCAL_MAIL_POSTAL_CODE,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_APT_NUMBER,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_STREET_NUMBER,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_STREET_NAME,
    EMP_CLIENT_TEMP.LOCAL_PHYSICAL_DISTRICT_ID,
    EMP_CLIENT_TEMP.AVAILABLE_FULL_TIME_YN_ID,
    EMP_CLIENT_TEMP.AVAILABLE_PART_TIME_YN_ID,
    EMP_CLIENT_TEMP.AVAILABLE_SHIFTS_YN_ID,
    EMP_CLIENT_TEMP.AVAILABLE_WEEKENDS_YN_ID,
    EMP_CLIENT_TEMP.WORK_STATUS_ID,
    EMP_CLIENT_TEMP.EDUCATION_LEVEL_ID,
    EMP_CLIENT_TEMP.SKILLS,
    EMP_CLIENT_TEMP.CONTACT_HOME_PHONE,
    EMP_CLIENT_TEMP.CONTACT_HOME_CELL,
    EMP_CLIENT_TEMP.CONTACT_HOME_EMAIL,
    EMP_CLIENT_TEMP.CONTACT_HOME_FAX,
    EMP_CLIENT_TEMP.CREATED_ON,
    EMP_CLIENT_TEMP.CREATED_BY,
    EMP_CLIENT_TEMP.PERSONAL_GENDER_ID,
    EMP_CLIENT_TEMP.IMMIGRATION_STATUS_ID,
    EMP_GET_FUNCTIONS.GET_CLIENT_STATUS_DESCRIPTION(EMP_CLIENT_TEMP.ID) STATUS
    from EMP_CLIENT_TEMP
    {code}
    Where Px_ITEM_NAME is item name where you like pass ID from your query.
    See also URL syntax
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#sthref105
    Regards,
    Jari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Accept Terms and Conditions Button Missing

    I just tried to sign up for a free trial of Creative Cloud.  I used my exisitng Adobe ID and then I was prompted to enter my date of birth... and then the terms and conditions box popped up.  Using Firefox 19.0.2 and Chrome 26.0.1410.64 m the checkbox and accept button are missing (broken CSS?) on IE 9 the button barely shows but I was able to click it.  I told Adobe customer support but they said they couldn't pass the info on and suggested that I post it here...

    TLyon please see the exisiting discussions on this topic at http://forums.adobe.com/message/5180180#5180180 and http://forums.adobe.com/message/5130319#5130319.  I would recommend adding your experience to the first discussion as opposed to starting a separate discussion.

  • Creating conditional buttons in InDesign

    I'm not sure if there is a way to do this in InDesign, but thought I'd see what people think.
    I want to create a document that has two sets of buttons. The top row will have two buttons and the bottom row will have three buttons. Each combination of button will bring you to a different page. So, for example, if the user clicks ButtonRow1_A and ButtonRow2_A, he is brought to page AA. If the user clicks ButtonRow1_A and ButtonRow2_B, he is brought to page AB. In this scheme, the user is not brought to another page until *both* buttons are chosen. My challenge is to figure out how to make the second row of buttons conditional on the first row of buttons. Does anyone know how to do this in InDesign? Maybe Fireworks or Dreamweaver?
    Thanks,
    Jon

    From your description, the user could only go to six different pages: AA AB AC BA BB BC so we are not talking about alot of possibilities. You could have this scenario, Have an initial page where only the top row of buttons are active, and the bottom row is inactive, but visible. When the user makes a choice and clicks A, you are taken to a second page where the interface is visually the same as the first. But now the top row of buttons are inactive, and the bottom row will only take you to the possible destinations of AA AB AC. Do the same for top row B.

  • HT4097 Terms and Conditions button will not respond after recovery and restore of ipad

    I have recovered and restored my ipad, set up wifi, discovery etc, moved to Terms and Conditions and can get no further.  Agree and disagree buttons appear but will not function.  I can go back so it isnt a frozen screen.  I have scrolled through all T&Cs and even emailed them.  Still stumped.  PLease Heeeellllllpppppp!!!

    Thanks for the suggestion.  Had tried that, and just did again.  Still the same.  Have tried plugging it in to itunes as suggested elsewhere - Agree button still will not respond.  Went on to itunes to download an app - wasnt asked to agree to conditions.  I just don't get it......

  • How to make "Terms & Conditions" button while activating your iPhone works?

    When i was activating my new iPhone 3G with iTunes 10.5, i was shocked that when i press the continue button in the "Terms & Conditions" page nothing happens, and it doesn't continue to the next page.
    Please help i can't use my iPhone doing anything.

    I have this problem too. Have you figured it out? I'm so frustrated and I tried to call Apple but it would cost $35 to get the question answered. I am hoping someone here can help.

  • Conditional Buttons?

    Can the buttons in Configurator also be conditional like the menu items they reflect?
    For example: If I create the button Character Panel Menu --> OpenType --> Discretionary Ligatures
    In the regular InDesign menu it is clearly visible whether this feature is available for the selected typeface in the text frame, but the standard Configurator button gives no feedback about that at all.
    Can this be changed, so the button is greyed out or has a different text when the feature is not available? Via scripting maybe?

    Configurator does not support this at present. InDesign does not provide the API to get the status of the feature.

  • Conditional button that affects sales tax

    I have a form that I've created in InDesing and imported into Acrobat. I've added a bunch of form fields and have pretty much gotten in over my head. I have a list of items that may or may not be subject to sales tax. I have a sub-total field at the bottom that totals all my rows. Then i have a sales tax field where you enter a percent. Then a total field which multiplies the subtotal by the sales tax. What I'd like is a button next to each item description that if checked would include that in the sales tax calculation. So if the box is not checked then sales tax will not be added in the final total. Does that even make sense? I'm having a hard time framing it all in my mind w/o taking javascript into account.

    You can use a single check box and set the "Export Value" for that check box to the sales tax rate as a decimal number, there percentage rate divided by 100.
    You can use the "Field is the ____ of the following fields:" for the calculation by selecting product and the subtotal fields and you can also use this option to fill-in the rate field..
    You can not use the simplified field notation since the unselected value is the "Off" string.
    You can use the custom JavaScript calculation with the 'if' statement to adjust for the "Off" value and fill-in the rate and compute the sales tax amount..
    Without the field names, it is pretty hard to provide the custom JavaScript code.

  • ECC - Central contract via SRM - condition Item button does not work

    Hi,
    After the creation of a central contract via SRM, I checked if all the condition types are taken over to contract in ECC.
    When selecting the item line and clicking on the condition button, it works correctly. After going back, to the main screen where the items are displayed I click once again on the condition button. Now it does not show anything, nothing happens.
    I have been looking for an OSS Note but couldn't find any. May you an OSS Note that I can use to solve this issue.
    Regards,
    Alexander

    hi Alexander,
    Do you get any error message.Can you check the konp and konh tables if entries exist
    regards,
    Lalita

Maybe you are looking for

  • View in Fact Sheet not showing information

    When a user displays an IS-U customer information using transaction code CIC0, only the Business Partner information is populated with details.  The custom view that we created under Fact Sheet doesnt show anything.  Where do you fix this issue?  I c

  • Live Video Output to TV

    I'm looking for a solution to a multimedia problem. I'm doing a show for the stage that requires video clips (currently in DV format) to be played at certain points during the show. Since it is live, the length between the clips is variable night to

  • How do I block kids phone so they don't go over their data limit?

    My son continues to go over his data plan every month.  I want to block the data so when his data usage is used, he cannot go over the usage until it starts over the next month.  I do not want to buy a more expensive data plan

  • How to set conditions as a query in cfl?

    i have a combo box and a matrix. i have a cfl in the matrix column, once i select the particular value in the combobox the corresponding values must appear in the cfl. how can this be done?

  • ITunes not listed in default player list.

    Running iTunes from an external, suddenly about 10% of my music is missing. iTunes also notified me that it wasn't the default music player. When I try to change the association, iTunes is not listed in my default player list, even when I point it to