Multiple Alarm Conditions

I currently have a Email and a Pager object send the alarms. My problem is it is set up to send the "alarm.update" when the LG I created is not active. The latch gate is tied to a timer for start up so when the process is restarted the alarms do not go out while the system is checking each station. WHat I have done now is, I have eleven stations, created a push button and tied it to a off timer. This has worked well and i have tied each individual alarm for that station to the timer. It is working fine but I do not get it to log the alarm to the alarm screen if the timer is active. Hence I don not know if there was an alarm condition. What I would like to do is set the pager and email alarm to be able to send when the lg is not active (holding back all alarms) and then to not send for each station during the timer. This is to be able to allow us to work on the station or perform tests on the alarm system with out the alarms going to our pager or emails. It sounds complex but I know that there is an easy solution, I think. CAn anyone help me out???

Your requirement I understand is that you have a timer which is on during the restart for a while, and want a control to enable or disable the sending.
For example, you create a switch called sendAlarm.
Pager.send = $Alarm.update and sendAlarm and !Timer.
Then, only when the sendAlarm switch is on, Timer is off, and there is a new alarm, the pager will send the alarm message. This alarm will be in alarm window, will be logged, but not be sent if you turn off the switch. So, when you want to test, just turn off the switch.
Ryan Shi
National Instruments

Similar Messages

  • Using multiple 'and' conditions in a SQL query

    Is it possible to reduce the SQL required to query using multiple 'and' conditions, e.g. I have a query like the following:
    select stat.personal_id, appt.username, appt.password, apps.rgn_apt_id, apps.apy_apn_id
    from apy_ast_application_status stat, rgn_usr_user appt, rgn_aps_applications apps
    where stat.apy_apn_id = apps.rgn_apt_id
    and apps.rgn_apt_id = appt.rgn_apt_id
    and stat.application_completed is null
    and stat.application_started_date > '01-MAY-11'
    and stat.amount_paid is null
    and stat.personal_details = 'C'
    and stat.further_details = 'C'
    and stat.education = 'C'
    and stat.employment = 'C'
    and stat.personal_statement = 'C'
    and stat.choices = 'C'
    and stat.reference = 'C'
    and stat.student_finance = 'C'
    Is there a way, to reduce all the multiple 'and' queries, to be read from say one line? If you know what I mean.......

    Ah, Ok this looks nice, thanks very much. It doesn't quite run as is because the stat.amount_paid query value is 'is null', while the others are 'C'. I tried amending the relevant line to various versions of the following:-
    in (select 'is null' 'C','C','C','C','C','C','C','C' from dual)
    which doesn't work.
    I can get the following to work so I am assuming that the it is not possible to use different query values within the brackets of the 'in (select....' statement?
    select stat.personal_id, appt.username, appt.password, apps.rgn_apt_id, apps.apy_apn_id
    from apy_ast_application_status stat, rgn_usr_user appt, rgn_aps_applications apps
    where stat.apy_apn_id = apps.rgn_apt_id
    and apps.rgn_apt_id = appt.rgn_apt_id
    and stat.application_completed is null
    and stat.application_started_date > '01-MAY-11'
    and stat.amount_paid is null
    and (stat.personal_details, stat.further_details, stat.education,
    stat.employment, stat.personal_statement, stat.choices, stat.reference, stat.student_finance)
    in (select 'C','C','C','C','C','C','C','C' from dual)
    Thanks for everybodys help - the suggested alternatives seem so much more elegant

  • How to update multiple Price conditions in FM CRM_ORDER_MAINTAIN

    Hi All,
          need to update multiple price conditions in a contract Thru FM CRM_ORDER_MAINTAIN.
    please see the piece of code that am using...
      am able to update single price condition...but not able to populate 2 or more .......i,e..ADD A Condition
    i,e...DATA : ls_cond TYPE prct_cond_external_input,
           lt_cond TYPE prct_cond_external_input_t.
    DATA : ls_con TYPE PRCT_COND_DU,
           lt_con TYPE PRCT_COND_DU_TAB.
    Create Condition Type
    *ls_con-KNUMV = lv_header_guid.
    *ls_con-KPOSN = lv_item_guid.
    ls_con-stunr  = '134'.
    IF Y EQ 1.
      ls_con-ZAEHK = '001'.
    ELSE.
       ls_con-ZAEHK = '002'.
    *ENDIF.
    *ls_con-kschl = 'ZFP1'.
    **ls_cond-waers = 'CNY'.
    *ls_con-kbetr = '0.00'.
    *ls_con-kpein = '1'.
    ls_cond-kschl = 'ZFP1'.
    ls_cond-waers = 'CNY'.
    ls_cond-kbetr = '0'.
    ls_cond-kpein = '1'.
    ls_cond-knumh = lv_item_guid .
    CLEAR ls_Price_doc.
    ls_Price_doc-ref_guid = lv_item_guid.
    ls_Price_doc-ref_kind = 'A'.
    IF Y EQ 1.
    ls_Price_doc-ref_handle = '000000001'.
    ELSE.
      ls_Price_doc-ref_handle = '000000002'.
    ENDIF.
    *ls_price_doc-PRIC_COND[] = lt_cond[].
    *INSERT ls_con into table ls_price_doc-PRIC_COND.
    INSERT ls_cond into table ls_price_doc-COND_ADD.
    INSERT ls_price_doc INTO TABLE lt_price_doc.
    ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_field_names-fieldname = 'KNUMH'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPOSN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KSCHL'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPEIN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STUNR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'ZAEHK'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'WAERS'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KBETR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    Ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_fields-ref_kind    = 'B'.
    ls_input_fields-objectname  = 'PRIDOC'.
    *ls_input_fields-logical_key = '0001'.
    ls_input_fields-field_names = lt_input_field_names.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    CLEAR ls_Price_agreement.
    Clear ls_cond.
    I kept this under code. loop, for item records.....
    Though the internal table lt_price_doc. is holding all the records, it is updating only one record. can you any one pls guide me ,

    This example works fine for me. Modify it according to your needs...
    Price
                  IF it_item-value IS NOT INITIAL.
                    ls_cond-kschl = 'PR00'. " add price
                    ls_cond-kbetr = it_item-value.
                    ls_cond-waers = st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond.
                  ENDIF.
    Discount
                  IF it_item-discount IS NOT INITIAL.
                    ls_cond-kschl = 'ZPPP'. " add discount
                    wa_procent_calc = it_item-discount * 10.
                    ls_cond-kbetr = wa_procent_calc."it_item-discount.
                    ls_cond-waers = '%'."st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond, wa_procent_calc.
                  ENDIF.
                  IF index_2 = 1.
                    ls_pridoc_com-ref_handle = counter.
                    ls_pridoc_com-ref_kind = 'B'.
                    INSERT ls_pridoc_com INTO TABLE gt_pridoc_com.
                    CLEAR: index_2,ls_pridoc_com.
                  ENDIF.

  • How to set multiple alarms on E90?

    Hi guys,
    I want to set multiple alarms on a 24 hour period of the same day, please give hints on how this can be done, on my pervious handset I was able to set alarms for multiple dates & times.
    Solved!
    Go to Solution.

    Does the E90 not have the same multiple alarm features as the N95 & N82?
    Go into the clock, then press right for alarms. Then press Options > New Alarm and set it for the correct day and time. Then repeat the process to set mutiple alarms for the same day.

  • Multiple alarms in ical after import

    is their a global way to remove a 2nd alarm that seems to have happened after importing from outlook. I have 2 alrms and i think this is making my ical file and entry numbers huge.
    Can you globally remove alarms and other ical event functions

    CaptainStarwars,
    FYI, this multiple alarm issue is affecting a lot of iCal users under a lot of different circumstances—not just import. Do a search and look for other threads.
    My observation is that MobileMe is responsible somehow. I fixed ALL my repeating events last week so that they all had a single alarm (like they're supposed to), and today duplicate alarms started showing up again.

  • How to add multiple test conditions in 'test' attribute expression of xsl:if tag

    Hi all,
    How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag ?
    I have 2 parameters and I want To skip the massage if this 2 conditions happened I tried to write it :
            <xsl:when test="($TransferToCompany = 0 and $ObjectInclide=1 )">
            <b1im_skip xmlns="" info=" Obect Will Not Transfer To company">
            </b1im_skip>
          </xsl:when>
    But I get an error while I am trying to transfer The object (Account) true B1if
    I am working with SBO 9 PL 13
    thank you
    shachar

    Hi saado
    Check this link:
    http://stackoverflow.com/questions/318875/can-you-put-two-conditions-in-an-xslt-test-attribute
    Kind regards,
    Radek

  • Multiple Alarms for 1 Event

    Keep getting multiple alarms (usually 3) popping up for each event in ical. I go into the event and edit it down to 1 alarm but that is not fixing problem. I just updated to 10.5.5 and it is still happening. Any suggestions?

    You can only assign directly one location to each event, but each photo in the event may be assigned to an individual location. When you display the event in places you will see all the different locations.

  • Alarm Clock - Multiple Alarms

    Maybe its me, but can anyone help me with setting up multiple alarms on the Z10. This function was a must have for me on my trusty ol' Bold running OS6, but I'm unable to find a way to add multiple alarms in OS10. Please tell me this function is available, or at least that it soon will be. It's such an important tool, I 'd hate to have to find a 3rd party app and lose my bedside mode.
    I couldn't wait any longer for the Q10, so after six days into using the amazing Z10, I think I'm hooked. Its so addictive, I can't put it down, which may explain why the battery wont make it through the day.

    OS 10.2 supports multiple alarms. Wait for it.
    If my post has helped you, give it a LIKE

  • Setting multiple alarms

    Can multiple alarms be set on the same day?

    See if MyAlarm will work for you
    http://www.berryreview.com/2007/07/03/myalarm-mult​iple-blackberry-alarms-for-free/
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Multiple pricing condition

    Hello experts,
    We have created a manual item condition for pricing but we have a problem when we enter the rate for that in the pricing screen.
    For example,
    "ZA01" is the one we created. Whenever we enter the value for that it automatically adds another line again and again after going to main order screen and back into Pricing screen again.
    ZA01 Discount for Rb              <- new line added
    ZA01 Discount for Rb    10.000 %  <- again
    ZA01 Discount for Rb    10.000 %
    It looks like this condition has multiple entry capability. I'm not familiar with item condition configuration but is there any way to prevent redundant multiple item condition entries?
    And also, from programming point of view, is it possible to delete manual item condition or combine it togther (10+10=20%)in XKOMV in one of the USEREXIT_XKOMV_... ?
    Regards,

    Hi,
    I think this condition type has been activated  as header condition as well as item condition, check in configurations...
    Its not a better way to delete/combine the condition values technically. Check out the configurations.
    Message was edited by: JITHENDRA CHADICHAL

  • Multiple alarms 'swapping' so that only one works

    I have encountered a strange bug in iCal that I wonder if anyone can help me with. If I create an event with multiple alarms, say, one reminder 60 minutes prior, and a second reminder 5 minutes prior, iCal swaps them around so that the 5 minute reminder is listed first, therefore the 60 minute alarm never goes off! This is really frustrating, and I'd love to hear any ideas people have to fix this.
    Cheers
    Greg

    You're trying to use Spry Accordions for something they were never intended to do.   Why don't you switch to a more appropriate jQuery Mega Menu?
    http://www.designchemical.com/lab/jquery-mega-drop-down-menu-plugin/examples/
    In case you missed the announcement, Spry is dead.  Adobe abandoned it late last year because it has outlived its usefulness.
    http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l
    Nancy O.

  • Multiple alarms and reminders application

    Hey
    I was wondering if there is any application that allows multiple alarms/reminders for several days. This is extremely important towards my health so please reply ASAP. Thank you very much.

    Please pursue the discussion here:
    /discussions/board/message?board.id=apps&thread.id=10330
    It is pointless asking the same question in multiple message boards.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Multiple rebate condition types in one invoice

    I had defined multiple rebate condition types as Y000, Y001 and Y002, which are montly offtake rebate, distance rebate and yearly offtake rebate.
    Y000 and Y001 can be in the same validity period and also will be applicable to the same invoicee.
    When i create a rebate agreement for customer for Y000 and go for the settlement of the rebate it is happening fine.
    But for the same customer, i had defined Y001 as a rebate agreement type for the same period and materilal.
    The sales volume is not updated in the rebate agreement. Evenif I do VBOF the sales volume is not updated.
    the error that comes while doing VBOF is :
    "7000158055 Document number RCFL 7000158055 2011 was already assigned
    7000158053 Document number RCFL 7000158053 2011 was already assigned
    7000158052 Document number RCFL 7000158052 2011 was already assigned
    7000158054 Document number RCFL 7000158054 2011 was already assigned"
    Please help me to solve this problem.
    Mrs. Swati Pawar

    Hello Swati,
    the suggestion of JP is correct.
    I explain it better.
    - the document type of FI document created from SD depends on the customizing of billing type field TVFK-BLART. If it is blank, then by default is 'RV'.
    - if the number range assigned to the account document type is External, then the FI document gets the same number of the SD invoice.
    - transaction VBOF creates FI document referred to SD invoice. If it has external number range, and an FI document already exist with same number (created when SD invoice has been released to accounting), then the errof F5152 occurs.
    SOLUTION:
    in the selection screen of VBOF there is the field FI-Doc-type. Here you should specify the FI document type that should be created by execution of VBOF, and of course it must have number range internal.
    Please try this.
    Best regards,
    Ivano.

  • Multiple alarms/reminders application

    Hey
    I was wondering if there is any application that allows multiple alarms/reminders for several days. This is extremely important towards my health so please reply ASAP. Thank you very much.

    You might find something at http://www.getjar.com. There are quite a few java applications there.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Multiple "FromAddressContainsWords" Conditions in One Rule via PowerShell?

    My organization recently moved to Exchange Online and I am looking at trying to convert the old mail rules from our old system (Sieve rules from Zimbra) to something that will work in Exchange Online.  My plan is to massage the Sieve output into New-InboxRule
    statements.  The massaging part is the easy part.  What I'm having difficult with is using PowerShell to recreate a rule that should have multiple -FromAddressContainsWords parameters.  Here's what I started off with:
    New-InboxRule -Name "Annoyances" -FromAddressContainsWords roxioemail.com -FromAddressContainsWords "Covalent Technologies" -FromAddressContainsWords process.con -FromAddressContainsWords [email protected] -DeleteMessage $true -StopProcessingRules -Mailbox George.Lenzer
    This didn't work as the -FromAddressContainsWords option can only be used once.  The error also suggested trying to do an array if the parameter would accept one.  I don't know, because that isn't documented anywhere.  The only thing mentioned
    in the help is that it will take a "MultivaluedProperty" which I assume means some sort of string or array that has multiple values in it.
    I then tried this:
    New-InboxRule -Name "Junk Mail" -FromAddressContainsWords {roxioemail.com; Covalent Technologies; process.com; [email protected]} -DeleteMessage $true -StopProcessingRules $true -Mailbox George.Lenzer
    While this worked, when I went into OWA to look at the rule and check the list of words, instead of each word on it's own line, had a single entry containing everything between { and }.  This doesn't look right, and I don't expect it would do what I
    want.  So how does one go about creating an Inbox rule from PowerShell that needs to check multiple conditions, some of the identical type?  It can be done from the GUI, so there must be a way to do it from PowerShell.  Any suggestions?

    Hi George.  Thanks for posting in the forums.  Looking at both of your code snippets, I can see where the problem is.  MultivaluedProperties in PowerShell are exactly as you describe: a set of properties presented as a single argument to a
    parameter.  The mistake you made was attempting to use the semicolon to separate the items in your multivalued property and then trying to present them as a single string.  This is why you get the whole blob of text between the squiggly braces.
    Before I give you the solution, let me say that what you want is to pass an array to -FromAddressContainsWords.  In PowerShell. the comma along with multiple quoted strings is what defines an array.  See here for a better explanation than I can
    give:
     http://theessentialexchange.com/blogs/michael/archive/2008/02/08/Multivalued-Parameters-.aspx
    With that said, here's the solution to your issue:
    New-InboxRule -Name "Junk Mail" -FromAddressContainsWords ("roxioemail.com", "Covalent Technologies", "process.com", "[email protected]") -DeleteMessage $true -StopProcessingRules
    $true -Mailbox George.Lenzer
    Hope this helps!

Maybe you are looking for

  • Sy-tabix when using secondary key

    Hi, I have an internal table with records that contain a field with the line index of another table entry that they depend on. I can process this table recursively, by passing the parent index inside and using a LOOP AT ... USING KEY secondary_key WH

  • Hyper-V on Windows 8.1 64 bit, "Could not send keys to the virtual machine"

    Hi, I newly installed Windows 8.1 (not an upgrade, fresh install from corporate network) on a Dell Precision T7600 workstation and enabled the Hyper-V feature with the matching management. I created a couple of 2 GB RAM, 2 virtual CPUs VMs and am try

  • Making DVD

    once I complete my project in Final Cut express what do I do to make a DVD? Do I have to use iDVD or is there something else that Final Cut express comes with that I am missing?

  • Different Price for Ship to party

    Hi, I have created sales order with one sold and 3 different ship to partys. Now I want maintain different pricing information for each ship to party. Is it possible? Note: it is using Same sales area and Same customer pricing procedure. Regards Sasi

  • How to create JAX-RPC WS manually

    I have a static WSDL file. Do you have any step by step instructions that show how to generate a JAX-RPC artifacts manually please? I can't do it using JDeveloper because my WSDL file is big so I got out of memory error when I tried to use JDev even