Dynamic event keys

Hello,
Could anyone let me know if the filter for an event inside the
workflow be dynamically set , be it a JMS Event or Plugin Event ?
Thank You.
Sangeetha

Dynamic events are one of the best features added to LV 7.0 and have saved me a few times.  The idea is that you can add events which an event handeler can register for the only thing you have to do it decide on the parameters which define the event. basically you craete a user event, register for the event, pass the event to the dynamic event terimina (right click on the event structure and "show dynamic event terminal" then add the event case just as you do with a native event.  In addition you can turn on and off the dynamic events as needed.  I will post an example I did later if it would help.  Spent the time to learn dynamic events, well worth the effort.
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • What are the Dynamic Events avaliable in the LabView 6.1 Event Structure?

    I recieved LabView 6.1 recently and I am working with the Event Structure, and I'm trying to figure out what Dynamic Events are avaliable in the event structure, and how to access them. If you don't understand what I'm talking about, open a new VI in LabView 6.1 and drop an event structure on the diagram. Add an event and look at the dialog box that appears on the screen, specifically the Event Sources section. The third option in this area of the screen is "grayed out" but reads "Dynamic". I'm curious what these events are, and how I access them. I'm running WinNT 4 SP6.
    Thanks,
    Chris Davis

    I believe this is part of a feature which is not yet present in LabVIEW 6.1, but may be present in a future release.

  • Resetting a variable in an event structure (dynamic event)

    I'm working on moving an event structure into a sub VI. This means I have to register dynamic events. 
    The event structure is handling some button clicks. The state of the button (mechanical action = latch when released) resets itself automatically as long as the variable is placed within the value change case.  Leaving the button in this case is not possible when the event structure is put in a sub VI and the variable is located in the parent VI.  How do I make sure the button unlatches after clicking on it?  I have attached an example where all the code is in one VI (the local variable must be moved outside the event structure in order for it to be moved into a sub VI).  Any ideas?
    If you open the VI and run it, you can click Start which will cause the counter to start incrementing.  The button only unlatches as long as the variable is located in the value change case.
    (Btw, how do you put images inline in a post?)
    Rob
    LV2011,LV2012,LV2013
    Attachments:
    img.png ‏18 KB
    main.vi ‏17 KB

    Race conditions are the primary reason not to do that. But since your treating your variable as a latch, I doubt your using the value you read from it anywhere, and in that case it can't create a race condition. There's also the possibility that the control's reference could become invalid. But since this is a sub VI of the control's VI that can't happen (even if it could you can check the error out of the value property node to see when it happens and deal with it).
    I'm not sure about the flickering, Since I can't seem to duplicate it with a simple test case on my machine. It might related to whatever else you're doing in the event apart from reseting the value to false.

  • Incorreect event-key in oracle.apps.inv.lotCreate Event PL/SQL Rule Functio

    Hi,
    I have created event subscription as PL/SQL function for oracle.apps.inv.lotCreate Event.
    In this PL/SQL function, i am calling "getEventKey" method on WF_EVENT_T object obtained.
    However, value returned by this "getEventKey" method is incorrect. According to Oracle Inventory User Guide, event-key should be
    Organization_id-Item_id-Lot_number. However i am getting some six digit number which is neither Organization_id nor Item_id nor Lot_number.
    I am using Oracle E-Business suite Release 12.
    Please let me know if anyone has faced similar problems? what was cause of such problem?
    Any pointers regarding the issue will be highly appreciated.
    Let me know if you require more information.
    Thanks,
    Rohit

    Hi Steve,
    The test subscription is raising from the workflow administrator responsiibility but when I update the item attribute controls then the subscription is not raising and checked with the forms trace, there is no event is recorded in the trace. I am using 11.5.10 cu 2 version and suspecting still some setting might be missing for the inventory events.
    I wrote the following code for my initial testing to test the event subscription raising on the item update.
    CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
    AS
    FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
    p_event IN OUT wf_event_t
    RETURN VARCHAR2
    IS
    l_key VARCHAR2 (240);
    l_key_stat VARCHAR2 (50);
    l_status_rec VARCHAR2 (50);
    l_org_id VARCHAR2 (240);
    BEGIN
    l_key := p_event.geteventkey ();
    INSERT INTO schl.schl_item_attrib_update
    VALUES (l_key);
    RETURN 'SUCCESS';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    INSERT INTO schl.schl_item_attrib_update
    VALUES ('error');
    END;
    END;
    I would highly appreciate your thoghts on this.
    Thanks,
    Srini C

  • Incorreect event-key in oracle.apps.inv.lotCreate Event subscription

    Hi,
    I have created event subscription as PL/SQL function for oracle.apps.inv.lotCreate Event.
    In this PL/SQL function, i am calling "getEventKey" method on WF_EVENT_T object obtained.
    However, value returned by this "getEventKey" method is incorrect. According to Oracle Inventory User Guide, event-key should be
    Organization_id-Item_id-Lot_number. However i am getting some six digit number which is neither Organization_id nor Item_id nor Lot_number.
    I am using Oracle E-Business suite Release 12.
    Please let me know if anyone has faced similar problems? what was cause of such problem?
    Let me know if you require more information.
    Thanks,
    Rohit

    Hi Steve,
    The test subscription is raising from the workflow administrator responsiibility but when I update the item attribute controls then the subscription is not raising and checked with the forms trace, there is no event is recorded in the trace. I am using 11.5.10 cu 2 version and suspecting still some setting might be missing for the inventory events.
    I wrote the following code for my initial testing to test the event subscription raising on the item update.
    CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
    AS
    FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
    p_event IN OUT wf_event_t
    RETURN VARCHAR2
    IS
    l_key VARCHAR2 (240);
    l_key_stat VARCHAR2 (50);
    l_status_rec VARCHAR2 (50);
    l_org_id VARCHAR2 (240);
    BEGIN
    l_key := p_event.geteventkey ();
    INSERT INTO schl.schl_item_attrib_update
    VALUES (l_key);
    RETURN 'SUCCESS';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    INSERT INTO schl.schl_item_attrib_update
    VALUES ('error');
    END;
    END;
    I would highly appreciate your thoghts on this.
    Thanks,
    Srini C

  • 2012 Dynamic Event Registration Array of Controls

    In upgrading to LV2012, I have discoverd what may be a bug, or at least an incompatability between 2011 and 2012 with respect dynamic event registration of an array of controls as opposed to individual control references.
    This bit of code worked in 2011 but doesn't in 2012, with error 1 generated at the reg events block when run in 2012. I have been in contact with technical support, but haven't yet heard their take on this.
    Any thoughts.
    Solved!
    Go to Solution.
    Attachments:
    Top Application.png ‏13 KB
    SubVI.png ‏23 KB

    I've got the bug too -- it appears this bug is present when arrays of control refs are connected to the ConPane. Link to cross-post on LAVA about the original problem. As Patrick@Vision mentions above, one workaround is to ensure that the array of control refs is no longer on the ConPane by collapsing the Register for Events node onto the caller.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • SCCM 2012 - Hardware Inventory - Dynamic Registry Key Inventory

    Hi all,
    I am trying to inventory a set of registry values based upon a dynamic registry key. The  application is called ACME and different versions of it exist on all clients. For example:
    Some clients have:
    HKLM\Software\ACME\5.0.1
    While others have:
    HKLM\Software\ACME\5.0.2
    While others have:
    HKLM\Software\ACME\5.0.3
    The common denominator is that under the version key, all of the subkeys are consistent and the same.
    The two values I am looking for are "LastUser" and "LastExecuted" which reside under the version key.
    HKLM
    ------> Software
    --------------------> ACME
    ------------------------------>5.0.1
    --------------------------------------> LastUser & LastExecuted
    So i basically want to do a dynamic lookup for the first child key under "ACME".
    I have been using RegKeyToMOF but I am unable to get the data populated into the database. The configuration.mof file compiles successfully (as can be seen in dataldr.log).
    Below are the configs I am using. Can anyone shed some light as to why its not populating anything in the DB?
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("ACME", NOFAIL)
    [dynamic, provider("RegProv"), ClassContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\ACME")]
    Class ACME
    [key] string KeyName;
    [PropertyContext("LastUser")] String LastUser;
    [PropertyContext("LastExecuted")] String LastExecuted;
    #pragma namespace ("\\\\.\\root\\cimv2\\SMS")
    #pragma deleteclass("ACME", NOFAIL)
    [SMS_Report(TRUE),SMS_Group_Name("ACME"),SMS_Class_ID("ACME")]
    Class ACME: SMS_Class_Template
    [SMS_Report(TRUE),key] string KeyName;
    [SMS_Report(TRUE)] String LastUser;
    [SMS_Report(TRUE)] String LastExecuted;
    From the client when it hits HINV cycle
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, KeyName, LastExecuted, LastUser FROM ACME; Timeout = 600 secs.
    TIA!

    You have to specify the full path in the MOF to collect the data. I have an example of how you can embed a WMI trigger and a vbscript into a MOF file that will populate any information you want from the registry into a cimv2 class, but that may actually
    be more than you really need. Why don't you just inventory each version? It is not as clean, but will be easier.
    example of Acme 5.0.1:
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("ACME501", NOFAIL)
    [dynamic, provider("RegProv"), ClassContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\ACME\\5.0.1")]
    Class ACME501
    [key] string KeyName;
    [PropertyContext("LastUser")] String LastUser;
    [PropertyContext("LastExecuted")] String LastExecuted;

  • Dynamic event with global variable (vi)

    I have registered a dynamic event to fire when a control in a global vi value changes. All works fine when I open the global vi and change the value of the control manually. When I have another vi modify the value of the global, the dynamic event does not fire.
    I have tried leaving the front panel of the global vi open and observed the value being changed...
    Any help appreciated...

    Hi,
    Please refer to the following document that explains why programmatic changes to the global doesn't get detected.
    Event Structure Does Not Capture the Value Changed Event...
    I hope this helps.
    Sincerely,
    Feroz
    National Instruments

  • Are you ever required to wire the dynamic event terminals through an event case?

    I remember some time ago, I ran into an issue while using an event case where my program was not functioning properly until, on a whim, I wired the dynamic event through that event case... now the reason I'm asking this in a general sense is because I don't remember what particular code I had this issue with and I could have been failing to update a shift register or something.
    In code I'm currently writing, I'm simply passing the dynamic event wire in a shift reg.  I was just wondering if there's any difference between wiring it through the event cases or simply passing it to the output shift register (without passing through the event cases)...
    any info appreciated!
    Thx
    -pat

    You do not have to wire it through. You don't need a shift register for references since the value will be the same for each iteration. In fact using a shift register is probably what caused issues. You probably updated it with the default value somewhere.
    =====================
    LabVIEW 2012

  • Different GL for Transaction/Event Key FRL

    Hi expert,
    I hv an issue for subcontract processing.. as defined in SAP the GL for Subcontract is :
    Dr. [FRL] External Service Fee
    Cr. [WRX] GR/IR
    Dr. [GBB-VBO] Inventory
    Cr. [BSV] SP components for refurbishment
    but at the other requirement, the GL for subcontract need to define as the following :
    Dr. [FRL] External Service Material
    Cr. [WRX] GR/IR
    Dr. [GBB-VBO] Inventory
    Cr. [BSV] SP components for refurbishment
    So, how can i define the differences. As i know, SAP just give one transaction/key FRL with one GL account.
    Is there any solutions for this issue?
    i think that it can be changed by defining a new mov.type copy from 101 to combine with new transaction/event key to differ the GL account, but the matter is i can't find any acc.modification FRL assign in this mov.type so i can't change it with new transaction/event key on it....
    please help mee...
    Regards,
    AJ

    Dear Kumar,
    i ll explain it more details..
    the material is the same.. the business process is that the material can be repaired and can be buy by using procedure exchange parts program.
    when it is repaired.. the requirement for the GL is :
    Dr. FRL External Service Fee
    Cr. WRX GR/IR
    Dr. GBB-VBO Inventory
    Cr. BSV SP components for refurbishment
    and when it is exchanging parts program the GL is :
    Dr. FRL External Service Material
    Cr. WRX GR/IR
    Dr. GBB-VBO Inventory
    Cr. BSV SP components for refurbishment
    and certainly, the material can only be assigned with one valuation class.. logically one valuation class can't be assigned with more than one GL account in one trans/event key especially FRL..
    So how it can be solved? or is there any solution by creating a new movement type for Godds Receipt to move the GL to another one.. thanks

  • Acct. 18010011 for trans./event key BSX, postable directly

    Hi,
    I encountered this error message in doing Goods issuances.  What does this mean?
    I did not changed any GL accounts in account assignments.. howcome this error happened?
    Thanks so much!
    Regards,
    Paula

    Please check GL account settings in FS00
    Tab: Create/bank/interest
    Check whether "post automatically only" check box has been ticked or not.
    Check this link:
    'Acct. 120000 for trans./event key BSX, postable directly' error message
    Edited by: Afshad Irani on Jul 19, 2010 3:29 PM

  • Acct X for trans./event key BSX is a K control account.

    Dear Experts:
    I am not so familiar with FI and one question need your help:
    When I was trying to post a goods receipt against one purchase order I created earlier, I got an error message: "Account 199999 for trans./event key BSX is a K control account'
    For account 199999, the account group is Recon. account and acct type is Vendors.
    Can anybody let me know the solution to this issue? Thank you all in advance!
    Best Regards!
    Tim

    Hi Eli:
    Thanks for your reply. But if I delete the account in OBYC, I will get another error message: "Account determination for entry TDCC BSX 0001 ___ ZZXX not possible". If I maintain the entry: "0001     ZZXX     19999" in BSX in OBYC, I will get the error above.
    Do you know how to resolve that?
    Thanks~
    Tim

  • Dynamic events in PD/OM infotypes.

    Hi, I want to know if it's possible to implement dynamic events in OM/PD info like PA info (tableT588Z). If not, other solutions?
    Thanks for answers.

    I don't think so there is any concept of dynamic events in OM.... it's not required....and also not possible i guess....!!!!

  • Peculiar problem in dynamic event, which is registering randomly

    Hello,
    I am using a dynamic event to pass a data (variant) to a vi which i call dynamically. reference of the event is stored in LV2G.
    so both main and called vi can access. data when written to the generate user event vi is triggering event at random time when executed.
    I am attaching snapshot of the vi which i used to register event.
    One interesting thing i noticed is if i put a probe in the error out of the generate user event vi then event will start triggering.
    Need help. I am struggling to get a solution.
    Regards,
    Vibin
    Attachments:
    Capture.PNG ‏21 KB

    Post any code you have on the issue.  There may be something simple that will fix the problem.  It sounds a lot like a race condition.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Tag engine dynamic events

    Does anyone have an example using dynamic events with tag values from the DSC engine?? I use 7.0 format.

    hi there
    you can combine DataSocket Read - function with timeout and a registered user event (see attachment)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"
    Attachments:
    Wait for Tag to change ist value_7.1.vi ‏74 KB

Maybe you are looking for

  • When I try to remember passwords the setting for it is faded and I cannot check it.

    When I go into Options then Security, the Remember Passwords is faded and I cannot select it. I need this, I have to sign in to my homepage every time, and it shows that it is a saved password. I am new to Firefox and need help. Application Basics Na

  • Unit price validation in Purchase Order, Goods Receipt PO and A/R Invoice

    Hello! I want to have validation of the Unit Price field in Purchase Order, Goods Receipt PO and A/R Invoice documents. This means that user has to get some kind of message if she/he do not enter the Unit price in above mentioned documents. I can not

  • Setting Display Name for sent emails

    Hi All, I want to set a display name for sent emails. For example: when I send emails using [email protected] and after receivign this amil in my inbox it says from [email protected] Is there any way that I can show display name for this like Kartik

  • Transfering image, sound and text from server to client

    I implemented a client and a server and right now it is only implemented that it transfers only plain .txt documents only. Now I want to alter it to transfer everything. I was thinking about reading the data and then create a new file in the client a

  • DPM console crashes 20 minutes into backup

    DPM 2012 Keeps Crashing - Backup to Tape Job We've had <acronym title="Data Protection Manager">DPM</acronym> 2012 SP1 running fine for a long time now, but just this week we've been having an issue with a particular backup to tape job. The job faile