Datasocket event trigger

Hi,
I am using datasockets to comunicate between PCs/VIs.
One VI has an event structure, which is in a 10ms timed loop. I have followed one example on this forum, which uses the timeout event to trigger the appropriate event with a property node (Value Signal) - but this causes events when I donot want them to occur.
I have also put a datasocket read in the 10ms loop to write to the Value Signal property node, which slows things down a lot and skips triggers/signals, which entirely defeats the purpose of events in the first place. 
Are there any (better) ways around this? 
Thanks,
Michael
BTW I'm using Labview 7.1.1 

One VI has an event structure, which is in a 10ms timed loop. I have followed one example on this forum, which uses the timeout event to trigger the appropriate event with a property node (Value Signal) - but this causes events when I donot want them to occur.
You have an event structure with a 10ms timeout, and within your timeout you perform a property value (signal) write !? This will generate 100 events a second! No wonder you get events when you don't want them. 
Sometime posting your code helps us to understand what it is you're struggling with.
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Similar Messages

  • Sales order creation, standard event trigger is taking long time .

    We have a requirement where we are sending data to CRM system using RFC function module. This data is sent while sales order creation or change. We have used standard event BUS2032.CREATED to trigger CRM FM in sales order creation mode. In sales order change mode, we are using custom event. In production system, our custom change event is getting triggered fine and data is sent to CRM system with small time lag of around 1 minute. But, while sales order creation, standard event trigger is taking long time ( sometimes about 20 minutes) in production system.
    We tried triggering same custom event at the time of sales order creation using FM u2018SWE_EVENT_CREATE_IN_UPD_TASKu2019 as well but, still we are not able to improve performance of the event trigger at sales order creation.
    Regards,
    Sushee Joshi

    HI,
    we have written SWE_EVENT_CREATE in update task
    I think instead of calling in update task simply call to function module CALL FUNCTION "SWE_EVENT_CREATE" might trigger the event immediately.. Did you try to check in this way..
    OR
    And I also suggest you to check the entry in SWE2 txn with respect to your workflow tempalte, may be you have enable the option ENABLE EVENT QUEUE, this could be one of the reasons.. If it is enabled please disable it (uncheck)
    Please check..
    Regards
    Pavan

  • BI Publisher event trigger and email notification

    How can I event-trigger a BI publisher report, i.e., start the BI publisher report after completion of a ETL job?
    In addition, after generation of the BI publisher report, how can I send to destinated email addresses?
    Thanks

    Write custom java code , which uses the BIP web-services and put a trigger on the ETLJOB.
    Re: Run BI Publisher from the command line through a shell script
    Re: Run BI Publisher from the command line through a shell script
    BIP has provided a webservice,
    One of the function is to run or schedule a report.
    Write a simple Java program, which will look at the server and point to run the report you wanted.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
    some more doc's
    http://www.oracle.com/global/de/community/forms/documents/Forms_BIP_WS.pdf
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12188/T421739T524310.htm

  • How to create schedule job and event trigger in XI to start a ABAP program?

    Dear All:
    Here are what i need to do:
    1.To run a ABAP program to start an XI scenario per hour.
    2.To run a ABAP program to start an XI scenario per day at 6 PM.
    3.To run a ABAP program used event trigger to make sure that XI scenario has finished the process and after that wait for 10 min later and run again.
    only i know is used sm36 & sm37 to set up a schedule job.
    but what i don't know is how to do it step by step.
    especially point 3.
    are there any step by step example can show me how?
    it better be simple and details...
    thanks you all
    Regards
    Jack Lee

    Hi,
    If you want to trigger the event manually from within SAP, use transaction
    SM64
    in SAP this is done by scheduling a job
    once a new customer is entered
    your scheduled report sends customer master data
    you can schedule your report (TCODE - BD12 I think) to one day or every 5 minutes... it depend on your needs and the system performence
    Regards,
    Surya

  • Event trigger in sap pi 7.3.1

    Hi
    I looking standard approach on below requirement .
    1.  Requirement :  All failed messages needs to post to JMS adapter using Event trigger , when message failed in SAP PI.
    2.Audit log : In SAP 7.3.1  I need to post message audit log to JMS adapter using Event trigger (Start time / End time ) without  using BPMs.
    Please suggest on this.
    Thank you
    Inder

    Hi Inder - Regarding the audit log - have a look at the below blog
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/09/michals-popi-tips-audit-logs-from-a-native-ws--new-feature (1)
    For the alerting , either you can use above suggested approach or have a look at the below blog
    Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 1 – ESR  (2)
    May be you can merge both of them, after reading the alerts(2) make another soap call to get the audit log entries(1) and send it to JMS adapter..
    Of course it's not an event based instead it works based on polling Interval that you configure in the channel..

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • 'Inserting' text into a Text Field on event trigger in a static form

    Sorry if this seems like a silly question, but I've been struggling with it for a bit and I'm new to Adobe/JavaScript.
    I am building a static form (it must be static), and I want to have text appear/disapear based on an event trigger (mouseclick). I tried creating a floating text object inside of a static text object, but I'm not sure how I can make the string value for this change based on the event trigger. The only advice in the Adobe help was purely regarding FormCalc, which I can't use as this must be a static form. I tried using this code in the <script>, but it obviously didn't work as it was written from FormCalc code versus JaveScript;
    TextField.rawvalue = variable.value;
    What do you suggest in terms of being able to script this, so my static form will work? Thanks a billion if you can help!
    PS: I'm using Adobe 9, LiveCycle ES 8.2
    PPS: Also tried inserting the following into my trigger script;
                        xfa.resolveNode("form1.subform.TestField").rawValue= "Please Work";
                        xfa.layout.relayout("form1.subform.TestField");
    It also did not work.

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • Event Trigger BI Publisher 11g

    I have an event trigger defined as type After Data. The function executes.. inserts into a table (table used to verify if function is actually executing via BI Publisher).
    The problem I'm seeing is that the parameter in the report that globally goes out is sent but the parameters that are globably coming back are not populated in the report.
    This package works fine in BI Publisher release 10.1.3.4.
    In the properties of the Data Model I have included package for Oracle DB Default Package
    The  parameter are defined as:
    1. Name: REQNUM, Data Type: String Default Value: Parameter Type: Text
    2. Name: PMAXUSER, Data Type: String Default Value: Parameter Type: Text
    3. Name: PMAXDATE, Data Type: String Default Value: Parameter Type: Text
    4. Name: MYTESt, Data Type: String Default Value: Parameter Type: Text
    In options I have Refresh other parameters on change checked.
    Thank you in advance for your help.

    First, make sure you've got enough machine resources as BIEE11g is resources hungry.
    Next, after installation you should have icons to start BIEE11g (try windows version as it is easier to start up).
    Run the startBIEE11g script and it will take some minutes, be patient. Once you get all processes running
    then you can try to login.
    Take a look at my post:
    http://oraclebiblog.blogspot.com/2010/11/starting-and-stopping-biee-from-command.html
    Good luck
    regards
    Jorge

  • FRM-40735- when-custom-item-event trigger raised.

    hi all
    while logging in i am getting the following error.
    FRM-40735- when-custom-item-event trigger raised unhandled exception ORA-06508.
    and when i press the button then getting the following error.
    FRM-40735-when-button-pressed trigger raised unhandled exception ORA-06508.
    plz help me out.thanks in advance.
    sarah

    SarahSarahSarah wrote:
    Yes i am keeping the path but i checked without path too.I want to regenerate webutil.plx.i tried by using ctrl+t ,shift+ctrl+k and ctrl+k but it did not generat plx.what should i do to regenerat plx?is it giving any error when you try to generate it using ctrl + t .?
    Also try closing the builder
    set FORMS_PATH with your working directory (do also keep webutil.pll and webutil.olb) in that.
    Open the builder again and try generating

  • Frm-40735 when-custom-item-event trigger raised unhandled exceptionora06508

    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.
    While logging in, I am getting the above message,
    If I click on ok i am able to proceed and do the task.
    My problem here is to remove this error.
    Any one plz help out?

    Welcome to OTN
    Before posting on this forum please read
    931068 wrote:
    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.So
    ORA-06508:     PL/SQL: could not find program unit being called
    Cause:     An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action:     Check that all referenced programs, including their package bodies, exist and are compatible. Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.

    Hi Expert,
    Forms Version : 11.1.2.1.0
    Client JRE : 1.6.0_45-b06 Java HotSpot(TM) Client VM
    Run webutil_demo form, http://host:9001/forms/frmservlet?form=webutil_demo.fmx&config=webutil
    it appears following error.
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    No error logged in java console client side.
    I've try to re-compile webutil_demo.fmb
    Unattaching and then re-attaching the plsql library webutil.pll to forms using a 11g Forms Builder (instead of earlier version) and then loading the form to the server and compiling form but error still exist.
    Will you please help to give any suggestion?
    Is there any trace can be enabled to find some more details?

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • ALTER USER를 실행한 사용자를 확인하는 방법(SYSTEM EVENT TRIGGER)

    제품 : ORACLE SERVER
    작성날짜 : 2002-11-07
    ALTER USER를 실행한 사용자를 확인하는 방법(SYSTEM EVENT TRIGGER)
    ================================================================
    PURPOSE
    자신이나 또는 다른 user들의 password를 바꾸는 등의 alter user command를
    사용한 사용자를 확인하는 방법을 알아보자.
    Explanation & Example
    1. 사용자 정보를 저장할 event table을 생성한다.
    Create event table and users to store the alterations made:
    SQL> connect / as sysdba;
    create table event_table
    ora_sysevent varchar2(20),
    ora_login_user varchar2(30),
    ora_instance_num number,
    ora_database_name varchar2(50),
    ora_dict_obj_name varchar2(30),
    ora_dict_obj_type varchar2(20),
    ora_dict_obj_owner varchar2(30),
    timestamp date
    create user test1 identified by test1;
    grant create session, alter user to test1;
    create user test2 identified by test2;
    grant create session to test2;
    2. SYS user에서 AFTER ALTER Client Event Trigger 를 생성한다.
    Note: This step creates a trigger and it is fired whenever the user "test1"
    issues ALTER command (It can be ALTER USER or ALTER TABLE)
    SQL> CREATE or REPLACE TRIGGER after_alter AFTER ALTER on database
    BEGIN
    IF (ora_dict_obj_type='USER') THEN
    insert into event_table
    values (ora_sysevent,
    ora_login_user,
    ora_instance_num,
    ora_database_name,
    ora_dict_obj_name,
    ora_dict_obj_type,
    ora_dict_obj_owner,
    sysdate);
    END IF;
    END;
    3. test1 user로 접속한 후 test2 user의 password를 변경하는 작업을 실행한다.
    SQL> connect test1/test1
    SQL> alter user test2 identified by foo;
    4. test2 user의 password가 test1 user에 의해 변경되면 그런 내용을
    event_table 에서 확인할 수 있다.
    Now that we have altered the "test2" user password from user "test1", the
    event_table should have captured this details.
    Now Login in as sys and Query on event_table:
    SQL> connect / as sysdba;
    SQL> select * from event_table;
    ORA_SYSEVENT ORA_LOGIN_USER ORA_INSTANCE_NUM
    ORA_DATABASE_NAME
    ORA_DICT_OBJ_NAME ORA_DICT_OBJ_TYPE
    ORA_DICT_OBJ_OWNER TIMESTAMP
    ALTER TEST1 1
    T901.IDC.ORACLE.COM
    TEST2 USER
    13-JUN-02
    event_table의 내용을 조회하여 LOGIN_USER와 ALTERED USER 는
    ORA_LOGIN_USER와 ORA_DICT_OBJ_NAME column을 통해 확인할 수 있다.
    비슷한 방법으로 아래의 event에서 trigger를 생성하여 확인할 수 있다.
    1) BEFORE DROP
    2) AFTER DROP
    3) BEFORE ANALYZE
    4) AFTER ANALYZE
    5) BEFORE DDL
    6) AFTER DDL
    7) BEFORE TRUNCATE
    8) AFTER TRUNCATE
    Related Documents
    Oracle Application Developer's Guide

  • Event structure: have one event trigger another event

    I have an event structure with two events. I want the finalization of the first event to trigger the second event. Both events are triggered by a boolean value change, say "boolean 1" and "boolean 2". Can I have a local variable of boolean 2 inside event 1. By changing its value, it should trigger event 2. However, this doesn't seem to be working. (see attached example)
    any help?
    Solved!
    Go to Solution.
    Attachments:
    test.vi ‏9 KB

    Tim's reply is the answer you are looking for.
    I would like suggest that you create a sub-VI that doesw the work in the second event you want to fire so tht rather than resorting to having one event trigger another, you can simply use the sub-VI that does the work in event_2 after the sub-VI that does the work for event_1.
    If you decide to stick one event triggering another, please clearly document the sceme in BOTH events. What you want to avoid is latter deciding event_1 should be triggered by Event_2 and the next thing you know, your app hangs.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • 특정 USER에서 DDL 등의 COMMAND 실행을 제한하는 방법 - DDL EVENT TRIGGER

    제품 : ORACLE SERVER
    작성날짜 :
    특정 USER에서 DDL 등의 COMMAND 실행을 제한하는 방법 - DDL EVENT TRIGGER
    =======================================================================
    Purpose
    User에 있는 table등에 DDL 문장이 실행되지 않도록 막고 싶은 경우가 있다.
    Oracle8.1.6 부터 사용가능한 system trigger에 의해 이런 기능을 구현해 보자.
    Explanation
    Oracle8.1.6 의 new feature인 DDL event trigger를 이용하여 특정 user에서
    특정 DDL(예를 들어 create, drop, truncate 등)이나 모든 DDL이 실행할 때
    에러를 발생시킨다거나 특정한 action을 하도록 설정할 수 있다.
    DML 의 경우는 기존의 trigger 대로 각 object에 대해 각각 생성하여야 한다.
    이 자료에서는 주로 DDL 이나 DML 이 실행될 때 에러를 발생하도록 하여 해당
    문장이 실행되지 않도록 하는 방법을 기술하였다.
    (system or ddl event trigger에 대한 다른 자료로 Bulletin 11903,11848 참고)
    DDL event trigger 를 이용하기 위해서는 $ORACLE_HOME/dbs/initSID.ora
    file에서 COMPATIBLE parameter의 값이 "8.1.6" 이상으로 설정되어 있어야 한다.
    DDL event trigger 는 각 DDL이 발생할 때에 실행되는 trigger로
    다음과 같은 시점에서 실행되도록 만들 수 있다.
    BEFORE ALTER, AFTER ALTER, BEFORE DROP, AFTER DROP,
    BEFORE ANALYZE, AFTER ANALYZE, BEFORE ASSOCIATE STATISTICS,
    AFTER ASSOCIATE STATISTICS, BEFORE AUDIT, AFTER AUDIT,
    BEFORE NOAUDIT, AFTER NOAUDIT, BEFORE COMMENT, AFTER COMMENT,
    BEFORE CREATE, AFTER CREATE, BEFORE DDL, AFTER DDL,
    BEFORE DISASSOCIATE STATISTICS, AFTER DISASSOCIATE STATISTICS,
    BEFORE GRANT, AFTER GRANT, BEFORE RENAME, AFTER RENAME,
    BEFORE REVOKE, AFTER REVOKE, BEFORE TRUNCATE, AFTER TRUNCATE
    Example
    * 아래의 trigger 를 system 등의 별도로 관리하는 dba user에서 생성한다.
    [예제1] EJ user에서 table과 index에 해당하는 DDL의 실행을 막는 경우
    $ sqlplus system/manager
    CREATE OR REPLACE TRIGGER ej_no_ddl
    before DDL ON ej.schema
    WHEN (ora_dict_obj_type = 'TABLE' or
    ora_dict_obj_type = 'INDEX')
    begin
    raise_application_error (-20101, 'Cannot execute any DDL !!');
    end;
    -> 위의 trigger는 ej user의 schema 에서 Table과 Index 에 대한 DDL이
    실행될 때 user-defined error ora-20101 이 발생하도록 한 것이다.
    [예제2] EJ user에서 실행되는 모든 DDL을 막는 경우
    $ sqlplus system/manager
    CREATE OR REPLACE TRIGGER ej_no_ddl
    before DDL ON ej.schema
    begin
    raise_application_error (-20101, 'Cannot execute any DDL !!');
    end;
    -> 위의 예제는 모든 DDL 이 실행될 때 에러를 발생시키게 된다.
    예제1과 2의 경우 EJ user에서 DDL 실행시 아래와 같은 에러가 발생한다.
    $ sqlplus ej/ej
    SQL> create table test ( a number );
    create table test ( a number )
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20101: Cannot execute any DDL !!
    ORA-06512: at line 2
    SQL> drop table dept;
    drop table dept
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20101: Cannot execute any DDL !!
    ORA-06512: at line 2
    [예제3] EJ user에서 실행되는 drop과 truncate 문장을 막는 경우
    $ sqlplus system/manager
    CREATE OR REPLACE TRIGGER ej_no_ddl
    before drop or truncate ON ej.schema
    begin
    raise_application_error (-20102, 'Cannot execute DROP or TRUNCATE !!');
    end;
    위와 같이 trigger를 생성한 경우 EJ user에서 table의 생성은 되지만 drop은 할 수
    없다.
    $ sqlplus ej/ej
    SQL> create table test2 ( a number );
    Table created.
    SQL> drop table test2;
    drop table test2
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20102: Cannot execute DROP or TRUNCATE !!
    ORA-06512: at line 2
    [예제4] EJ user의 docu2 table에 대한 dml을 막는 경우
    $ sqlplus system/manager
    CREATE OR REPLACE TRIGGER ej_no_dml_docu2
    before insert or update or delete on ej.docu2
    begin
    raise_application_error (-20103, 'Cannot execute DML');
    end;
    $ sqlplus ej/ej
    SQL> delete from docu2 where docu_id=2;
    delete from docu2 where docu_id=2
    ERROR at line 1:
    ORA-20103: Cannot execute DML
    ORA-06512: at "SYSTEM.EJ_NO_DML_DOCU2", line 2
    ORA-04088: error during execution of trigger 'SYSTEM.EJ_NO_DML_DOCU2'
    * table의 작업을 위해 일시적으로 trigger의 기능을
    disable 또는 enable시킬 수 있다.
    $ sqlplus system/manager
    SQL> alter trigger ej_no_ddl disable;
    or
    SQL> alter trigger ej_no_ddl enable;

  • Use event trigger process chain

    Hi friends,
    I am working on a process chain tuning task.
    One request is to change a schedule method  of an interrupt from date/time to event.
    I know how to generate and utilize event.
    My worrying is:
    Is an event has duration?
    E.g Today's process chain scheduled at 01am,,processing, the interrupt was triggered  by event at 04am, but at 10am, the event was trigger again for some unknown reason.
    Then,the process chain with the interrupt will be scheduled  at 04am tomorrow, but actually, there may be no event for tomorrow as requirement(due to some reasons,we do not like PC run everyday).
    Anyone know how to solve this problem?

    Martin
    You partially answered my questions.
    My chain contains both date/time schedule and event trigger.
    As is:
    Start-date/time schedule daily at 1:00am
    step1,step2,,etc
    interrupt-now, it is date/time schedule,at 4:00am
    other steps.
    To be:
    Start-date/time schedule daily at 1:00am
    step1,step2,,etc
    interrupt-  event trigger schedule
    other steps.
    I know how to trigger event by ABAP program.
    My concern is:
    Today afternoon, someone run this ABAP 10 times to generate 10 events,what will happen tomorrow?
    Actually,according to business requirement,tomorrow's process chain(interrupt below part) shall not be ran.

Maybe you are looking for

  • Mavericks Upgrade now computer constantly crashing..Help please?

    I upgraded my IMac to Mavericks this week and computer constantly crashes since.  I can only work in safe mode.  I have been in contact with Apple and they have not been able to find the solution.  I have seen others post their error log on here & am

  • Soft Proof for Third Party Printing?

    Julieanne's great training video covers Soft Proofing for monitors and local printers.  How about using it for exports to third party Printers?  All my work is exported to my Zenfolio sponsored website.  From there is purchased for print by further e

  • Applescript to search for something.

    I've been messing around with the idea and trying to code a little bit of it but I just can't figure it out. I have a dictation program that listens to what I say and for instance when I say "search for david crowder band" I want it to do a google se

  • SSRS programmatically remove the unattended execution account

    Hi, Is there a way to programmatically remove the SSRS unattended execution account? In the Configuring the Unattended Execution Account article, the "How to Delete the Unattended Report Processing Account" section only list a manual step to do so. I

  • T410 Loss of Thinkvantage when upgrading from XP to Windows 8.1

    Having upgraded my T410 from XP to Windows 8.1 I am unable to get the blue Thinkvantage to work.  I have downloaded and installed Update 5.05 from Lenovo but to no avail.  Can anyone help me please?  Thank You.