Creating custom user event. Event more suited for this situation than occurences or notifiers?

Okay, Heres my situation. I have lets say 4 windows which plot data from a common data source. Now I only want the data read and displayed on the graph when an aquire button is pressed on one of the graph. So data is constantly aquired by only added to the array connected to the graphs on each form until the 1 aquire button is being pressed.
I was thinking the best way todo this would be for the one form with the aquire button to raise an event that would cause all the other forms to grab the data point. I was thinking an event loop because the user can manipulate the graph window and to prevent polling I thought an event loop would be the best. I figure I could use o
ccurences but again that would cause polling. I could use notifiers because I think that would allow me to send the data point with the notification but again i think there would still be polling.
Does anyone have any examples or easy instructions how to raise an event that I have created? Do you think this is the best way to handle this situation?
Thank you for taking the time to think about this long winded question.

I am not sure I completely understand the application, however I think your best bet would be notifiers.
Take a look at the attached VIs. I am using the notifier to pass data from the main VI to the 2 SubVIs. By using Wait on Notification I do not have to poll at all. In addition I used the event structure in the main VI so I would not have to poll for the button press either.
I hope this helps.
Evan
National Instruments
Attachments:
Main.vi ‏48 KB
Sub1.vi ‏27 KB
Sub2.vi ‏27 KB

Similar Messages

  • I want to open excel spread sheets make additions and export back to pc users.  Is numbers suitable for this activity?

    I want to open excel spread sheets make additions and export back to pc users.  Is numbers suitable for this activity?  I am using a MACBook Air

    just read this in an other answer:
    Pages can open docx files, Numbers can open xlsx files. Each can export to  can export .doc or .xls to the newest Word or Excel format.respectvely, but not to the more recent .docx or .xlsx.
    Translation is not perfect in either direction. Numbers and Excel handle some similar features (eg. pop-up menus vs data validation) differently, and the translator cannot translate from one implementation to the other.
    If much of your work is going to be transferred between your machine and Windows machines running either MS Excel or MS Word, with editing taking place at both ends of the tunnel, then you'll probably be better off with Office, or one of the Office clones on the Mac end.

  • When or should XML be used and why for this situation?

    I am developing a 3-tiered web application (database, server, browser) that will use JSP to display a form where the user will enter their name and address information, JDBC for the connection to a mySQL database.
    When the user enters their name and address information on the JSP displayed using the broswer, the data when submitted will be placed in the database.
    How could I use XML for this situation? Is it really needed at all since I know it can all be done using only JSP? I am just wondering how using XML could help?
    Please give me any feedback you can...if you need more detail to what I am trying to do, let me know....
    Thank you so much in advance!!!

    Hi,
    XML is really useful for representing data from different resources. E.g. it can take a database and represent it as an xml document or it could be an xml document hosted on an external server. By using XML in the jsps, the jsp is completed oblivious to where the xml data came from i.e. either a database or an xml doc. Using XML provides a level of abstraction so that the jsp only needs to know the methods to access/retrieve data not how to access the data i.e. it doesn't have to worry about how to connect to the database, and create sql statements.
    In the situation described if you can be sure that the information that the jsp retrieves will be only from a database then you do not need to use xml, otherwise by using xml you adhere to good-old object design principles.
    There is a paper on using xml and jsp see:
    http://java.sun.com/products/jsp/html/JSPXML.html
    Hope this helps.

  • I accidently removed my clash of king game from Game Center, but my profile is still there and i want it back. Any solution for this situation?

    I Accodently removed mu Clash of King game from Game center, but my profile is still there, I want it back.Any solution for this situation?

    Install the game again.

  • My macbook fell off the couch and now everything on the display is double and slightly transparent. Is there a fix for this other than getting it replaced?

    My macbook fell off the couch and now everything on the display is double and slightly transparent. Is there a fix for this other than getting it replaced?

    Only an Apple Store or an authorized Apple Service Provider can determine if a repair is economically justifiable. It may be as simple as a dislodged display cable.

  • Is there any difference between these cluster images when creating a user event?

    I'm sure you experts will know instantly what I'm doing wrong.
    I am trying to create a user message for TestStand communication in the LabVIEW UI (based on the simple example OI that comes with TestStand)
    Perhaps it's just cosmetic but the trouble is I can't get the image of my cluster constant to look the same as the one in the example.
    I'm right clicking on the 'Create User Event' icon on the User Event Data Type connection and selecting Cluster - Cluster Constant, then adding a numeric constant to it.
    You can see the result here. The top one is the good one from the example, and the bottom one is my attempt - but I just can't get it.
    I'd appreciate your thoughts (I know the event number can't be the same - but I made it the same for the comparison). I have LabView 8.6.1.
    Thanks,
    Ronnie
    TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
    Solved!
    Go to Solution.

    Use the color tool and right click on the lable of the numeric. I guess you will see that the Background Color of the one is black, of the other is white.
    But this is really just cosmetic's of the code.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Why do my events change in the day view, when I create a new event? (iCal for iPad 2)

    Every time I create a new event in the day view in iCal on iPad, the other events (which I created before for the same day) change their starting and/or their ending time.
    Please help!

    monkeyde,
    You are getting entagled in the two confusing meanings of the term pixels, namely as a unit identical to points and equalling 1/72 inch, and the basic component of raster images (and effects).
    You can read on in this very recent thread:
    Is there a way to get Illustrator to know how many pixels are in an inch?

  • HCM P&Forms:How to create a user event and scenario step mapping

    Hi Friends
    I have a problem with Form Scenarios --> Other Attributes -->User Events:
    At present the values are: Operation :- the_operation_name
                                               Field Groups :- Field Group assigned
                                               Usable from scenario step :- Emp_Req_scenarion_stepname1
    I need to enter a new mapping here so that the operation is available in another scenario step as well.
    But in the edit I can enter only the operation name, not able to enter the scenario step.
    Can someone please suggest a solution or work around. Your inputs are appreciated.
    Thanks!
    Sajimol.
    Edited by: Sajimol Unni on Mar 2, 2010 11:54 PM

    Not quite true. A "user event" looks at what fields you selected for your "field group" for the event. Then ANY operation that has that field associated with it will get called (unless a "rule" stops it). User Events in HCM P&F are REALLY BAD in my opinion (I have ranted on them in many threads, blogs etc.). There are ways to deal with them and also ways around using them (see my blogs). I think this is one area in HCM P&F that needs a major overhaul/re-thinking.

  • How to create Custom User Role in HelpDesk?

    Unfortunately, it is not possible to create a custom user role with custom permissions.  What you see is what you get!
    When you say, 'access to the Spiceworks server', do you mean Remote Desktop?  Or accessing Spiceworks application from another computer?

    Hi,
    Could anyone help me to create my custom User Role or edit the existing Role in HelpDesk system? Please help me for this problem.
    One more, How could my Helpdesk Admin/Tech user access to the Spiceworks's server. I mean, could he access through web browser or need to install it on client's PC?
    Stay tune,
    This topic first appeared in the Spiceworks Community

  • How to create Custom WEB ADI using API Only for both Dowload/Upload process

    I am able to create custom WEB ADI using API for upload process. I have written the following code to create custom WEB ADI using API for upload process.
    DECLARE
    v_application_id NUMBER:= 20003;
    v_object_code VARCHAR2(255):='WEBADI_API_DEM_17';
    v_int_user_name VARCHAR2(255):='WEBADI_API_DEM_17';
    v_language VARCHAR2(255):='US';
    v_source_lang VARCHAR2(255):='US';
    v_user_id NUMBER :=1345;
    v_integrator_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTG';
    v_param_list_code VARCHAR2(255);
    --v_interface_code  VARCHAR2(255);
    v_interface_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTF';
    p_layout_code VARCHAR2(255):='WEBADI_API_DEM_17_LAYOUT';
    V_MAPPING_CODE VARCHAR2(255);
    BEGIN
    BNE_INTEGRATOR_UTILS.CREATE_INTEGRATOR(P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_USER_NAME =>v_int_user_name,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_INTEGRATOR_CODE =>v_integrator_code);
    BNE_INTEGRATOR_UTILS.CREATE_INTERFACE_FOR_API (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_API_PACKAGE_NAME =>'XXDH_PRICE_LIST_POC_PKG',
    P_API_PROCEDURE_NAME =>'CREATE_PRICE_LIST',
    P_INTERFACE_USER_NAME =>'WEBADI_API_DEM_17',
    P_PARAM_LIST_NAME =>'WEBADI_API_DEM_17',
    P_API_TYPE =>'PROCEDURE',
    P_API_RETURN_TYPE =>NULL,
    P_UPLOAD_TYPE =>2,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANG =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_PARAM_LIST_CODE =>v_param_list_code,
    P_INTERFACE_CODE =>v_interface_code);
    BNE_INTEGRATOR_UTILS.CREATE_DEFAULT_LAYOUT
    (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_INTERFACE_CODE =>v_interface_code,
    P_USER_ID =>v_user_id,
    P_FORCE =>FALSE,
    P_ALL_COLUMNS =>TRUE,
    P_LAYOUT_CODE =>p_layout_code);
    BNE_CONTENT_UTILS.CREATE_CONTENT_COLS_FROM_VIEW (P_APPLICATION_ID =>v_application_id,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_VIEW_NAME =>'XXDH_PRICE_LIST_POC_V',
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id);
    BNE_CONTENT_UTILS.CREATE_CONTENT_TO_API_MAP (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_INTERFACE_CODE =>v_interface_code,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_MAPPING_CODE =>V_MAPPING_CODE);
    END;
    I need to know what are API we can use to create download+upload ADI? anyone has already prepared script....please share it it me. My email id - [email protected]
    Thanks

    Use FNDLOAD, it's the only way.
    There are 2 seperate scripts, 1 for the Integrator and 1 for Layout.
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneintegrator.lct <your name>.ldt BNE_INTEGRATORS INTEGRATOR_ASN="XXX" INTEGRATOR_CODE="<your code>"
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct <your name>.ldt BNE_LAYOUTS LAYOUT_ASN="XXX" LAYOUT_CODE="<your code>"
    Cheers
    Jeroen

  • How to create a user with read only access for ESB / BPEL Console

    I need to create a user with read only access to ESB Console & BPEL Console. I have created a user
    (esbreadonly) and assigned ascontrol_monitor role but user is still able to
    delete services from ESB systems (such as DefaultSystem). Is there any way to
    create a user that has strickly read only access to ESB Console & BPEL
    Console
    Thanks
    Dinesh Patel

    Check out this post.. I'm in the process of testing.
    http://chintanblog.blogspot.com/2007/12/i-saw-numerous-people-asking-about-bpel_290.html

  • Multiple users on same Computer - Licensing for this product.....

    We are using a Mac Pro with Creative Suite 4 - Design Premium and have 2 active users on the computer. We recently discovered that if user "A" has an Adobe Program running and user "B" attempts to run an Adobe Program at the same time we get an error code "150:30 - The licensing for this product has stopped working and needs to restart." We are then forced to re-start the whole computer.
    This is super annoying! Does anyone know what is going on? We would like to be able to seemlessly switch between users without having to close what the other one was working on.

    It is as simple as going to File>New Catalog and fill in the name for the your daughter's catalog ... then navigate to where you woulke to save the catalog ... I believe the default location is in the logged in user's Pictures folder ...

  • AUDIO TO SCORE is gone and it was much more precise for drum doubling than the doubling function itself.

    AUDIO TO SCORE. I used that all the time for drum doubling for the following reasons:
    In Logic 9 i always used audio to score for drum doubling because it had much more control over essential parameters than the drum replacement window. Parameters like: Granulation, Smooth Release and Attack Range made sure that i didn't have any flams, too few notes, too many notes etc etc. AND you could see in the sample editor (below the waveform) immediately the effect of the changes made in those parameters!
    Now with these parameters gone and only the drum doubling function left, what was a real pro function has become much more cumbersome to use. You can no longer see in detail what changes in parameters does to the out-coming midi. And the lack of the detailed parameters makes drum doubling drop or miss notes, makes flams with the original drum track etc etc.... In short. The drum doubling function is inadequate for pro results.
    So this is my suggestion: Apple probably wont reinstate audio to score as it was (i'd love it if they did, it's essential to me and others who does rock mixes in logic instead of protools). But you can do something that's even better:
    In the audio file editor (previously the sample editor) make the old audio to score into an advanced drum doubling/replacement editor. Take the audio to score window and parameters and reinstate them BUT instead of outputting different note values make them output to a desired note of the users choice (e.g C1). Without opening the library. It cluters the window and often people want to use their own drum software than apples samples.
    It's the realtime view in the bottom of the audiofile editor that makes a difference. And the missing parameters. Without these things a good outcome is based on luck rather than visual reference.

    I was doing drum replacement ( adding ) with Audio-to-score for years, and must say, drum replacement is working for me without any flams and much better and 2x faster. I think it is pro feature, with advanced transient detector. Only problem is velocity,as in Audio-to-score.
    If automatic threshold not working on some material, you can do  fine transient edits in audio editor with visual realtime feedback, you can change output note and delay globally. Also you can hear ( in compare with Audio-to-score), that's why library is opened and sample replacement -after, not difficult to do.

  • Idea that get apple store more profit for this year.

    hello..
    my name is suliman and i am from kuwait but am living in dubai
    i have a good idea to let the people to use the itunes card and get apps from apple store without going to other programs and download for free
    this idea can get more profit for apple company and i will be glad if you give me a chance to expalne my idea
    if you can share me a mail so i can send my idea as a presntaion or you can let me contact from apple in dubai and explane them the idea that may incres the company profit.
    hope i have a chance to explane my idea
    thank you very much.

    You are not addressing Apple here in the user to user technical forum.
    Furthermore, I think Apple have the right people and ideas for their store.
    If you still want to suggest, use the feedback link:
    http://www.apple.com/feedback/iphone.html

  • I was cleaning my macbook pro and i deleted all my files including itunes. Then when i turn on my itunes it says the folder"itunes" cannot be found or created, and is required. the default location for this folder is inside the "music" folder. help please

    My itunes keep saying The folder “iTunes” cannot be found or created, and is required. The default location for this folder is inside the “Music” folder.iTunes needs a library to continue. You may choose an existing iTunes library or create a new one. please help i presschooseexisting cuase i have one but then it says this The  file cannot be found or created. The default location for this file is in the “iTunes” folder in the “Music” folder. please help

    I was cleaning my macbook pro and i deleted all my files including itunes
    Restore your computer from your backup. 

Maybe you are looking for

  • When I turn on homesharing my playlists do not show up on both computers.  I got it to work once but can't seem to get back there.

    I am trying to share libraries on two laptops.  I turned on home sharing on both but my playlists are not showing up on both computers.  They did once and then I did something else in iTunes and now they don't.  I must have something checked that sho

  • Update Excise base value in MRP based and Non-MRP based billing

    Hi Gurus, We need to update Excise Base Value for Statistical Condition type. How to configure the same ? Sl.No  Pricing Condition Type      Active   Statistical           Passed to Accounting         1        MRP Price (Statistical)                 

  • Withholding Tax accumulation on monthly and per year basis

    Hi, one of client's requirement is they need to deduct TDS when the amount reaches 50,000 per month or 500,000 per month. In standard we can only give one accumulation type in withholding tax type definition, either per month or per year and also in

  • General information on ABAP -- SD guy

    Hello Abapers, I am a new SD functional consultant. I am sure I will be working with ABAP guys. Can you please tell me what I need to know about ABAP from the your perspective. I'd like to learn ABAP just to know enough from functional perspective si

  • Error while using VF02

    Hi All, We are having a company code for which Company code currency is EUR and Group Currency is USD. We recently added a new currency NZD to book contracts under this sales org, so we maintained currency exchange rate pars in OB08 and OBBS for NZD/