Named User Events? - NOT using labels

Why do user events require the event name be pulled from the label of the item wired to the create user event VI? I am looking to use user events which the name of the event may be wired separately to the create user event and register for event VIs.
If I have a data store with 1000 variant items in it. I want to create an "on change" event for each item in the data store. All of the items have the same data type.. a variant or some cluster of info.. and a different name. Other tasks can then watch for a specifc item to change by registering for an event with the same name and type. However, I certainly do not want to waste my time creating 1000 constants of the same type just to wire it to the create user event VI. (The actual names in this application may be built at runtime) I also do not want the tasks to have to watch for a common event that triggers whenever any item in the data store changes and then have to filter out what is relevant to the task. (this wastes resources)
Why can't the user event and register for event functions just use the type of the data and let the name be passed in separately like queues do??
Can NI provide me a simple patch to do this?

"is using only one event ok for you? You can generate this event everytime you write data into your buffer. If your event is of the type string, the you can send whatever data you need with the event (name, value, ...)."
This works, but I'm concerned about the performance hit / scalability of waking up every single task for no reason whenever anything changes just to realize it's of no interest and go back to sleep. Lets say there are 25 tasks. Each task is registered for one of 1000 items. Higher rate data may be changing which none of the tasks are interested in... Not very efficient to have one common event. 
"rather than pounding on an event structure to change it's shape, how about using "named queues"?
 Instead of the event in a loop you check the queue in a loop and if there is something there handle it like it was the event. You can set it up to either do it witha zero timeout (polling) or the loop can sit at the "Dequeue" until something is pusshed to the queue."
The current implementation is named queues. Yes this works, But what am I doing.... Using a queue to implement an event........ (why should I have to do this?) If you call a generate event and nobody is registered, nobody cares. You have to add logic to determine if you want to put an item on a queue in case nobody is listening so that you don't build up the queue..
"The type def is created as a constant via right-click menu on the wire coming from Create User Event. Just the label changed."
This is an interesting trick.. However, it still requires me to create a constant with x unique names. I guess I will have to do some testing to see if the events created in a loop are unique, but have the same name, or are truly the same event with unpredictabel results for creating many with the same name. (unless someone already knows the answer) ... If they are truly unique, but have the same name, I could use this for tasks that register for only a few items... Still rather cumbersome for tasks that need to register for many.

Similar Messages

  • Mac users DO NOT use this Desktop software! it will cause hours of heartache

    I have exactly the same issue with a Bold and have still to find any option to resolve the issue other than to entirely wipe the device and go through the tiresome process of reinstalling and updating everything to the way i had it.
    I am utterly furious with myself for trusting RIM to release a desktop option for Mac users. I choose a Blackberry for its push email and i love the device very much, even despite Initially going through 6 Bolds until i received a new one from Vodafone UK that was not reconditioned and finally worked properly. Since then everything has been fine until this amateur attempt at writing software for Mac users.
    I don't have a lot of time to myself and i can think of nothing worse than spending the little time i have searching through endless ill concieved solutions that simply do not work. Just by plugging in my Bold and hitting sync has destroyed my contacts, ringtones and other settings. Why bother to release software until it is entirely tested? Why would you want to put your customers through this demorolising procedure which does nothing more than further emphasise your true lack of interest in supporting anything Mac. I dont want an iphone, i believe that your phones aresuperior for business users like myself.
    Please, please, if you are a Mac user DO NOT use this software unless you really want to go through hell just trying to get it back to the customised form you spent loving hours to get right. It destroys your address book and other elements and not one solution posted anywhere on the Blackberry web site works. YOU HAVE BEEN WARNED.
    The reason i am a Mac users is because i need a reliable hardware/software solution that works out of the box. It is entirely obvious that RIM havent quite realised the long term benefits of this really very simple idea!

    thecount wrote:
    well, I attempted to use it, but I initially just tried syncing just the tasks and it would not do that!  so I gave up and uninstalled.  
    I now have been trying to sync with pockmac but that also has issues.
    Only reason I am not going to get an iphone, is that I really need to sync with entourage and I use notes on it extensively. and I don't think you can sync an iphone with entourage notes?
    can't win can we?
    this was one reason i've been sticking with the blackberry as well. it appears though that now you can... http://support.apple.com/kb/HT1670
    i really have liked my blackberry, and have been waiting for this software for some time now, but if this is rims idea of a client i have no choice but to go to the iphone...

  • Most users can not use TEST PANELS or run EXE built vi's?

    On any fresh install of NI-DAQ, the System Administrator and the first user logged in afterwards can use the Test Panels... button in the "Measurement & Automation Explorer" as well as run the Standalone programs made by Application Builder (LabView 7.1)...all other users can not use the Test Panels... or run the Built-vi's that shows up with plenty of error code 21, "an external subroutine required for execution could not be found", and it seems to be vi's that are called by the vi's we use, like one step away. I have set the permissions to all the related files to FULL as well as hacked the registry's HKeyLocalMachine->Software->NI... as well as the CurrentControlSet->...->DAQCARD... all to full control.
    Since the Administrator and the frist user can run the programs it is definitely not a case of missing software, but just permission rights. Please help to get the other users productive as well!

    Hi, they have not got the application builder license here...

  • Delete fotos in iPhoto events not used in Foto Book

    the problem with this issue is that there is no "indicator" in or on the pictures in the event the foto book was made from which says: this was USED in the foto book/project and this was NOT USED in the foto book/project. So, how to delete those in the event which were NOT USED?
    If you invoke all the fotos of the event on the side of the foto book selection screen those you USED are flagged, the one NOT USED are unflagged, but the iPhoto does not allow at that stage to delete multiple images by using the Command click method suggested when you are viewing the event pictures.

    Do you want to must remove the unplaced pictures form the book or from the library?  If it's from the library and you don't use the ratings try the following:
    Bring up the unplaced photos tray, select one at a time and give it a rating (this works as long as you don't use ratings).  Then create a smart album with the criteria Rating is X.  All of the photos with that rating will be displayed. 
    Select them and use the key combination Command+Option+Delete to move them to the iPhoto Trash bin. Then empty the trash bin.
    Warning:  This will delete the photos completely from the library.  Make sure this is what you want because they'll be gone for good then.
    OT

  • IPhoto Events not used elsewhere

    I have noticed that AppleTV, my iPod Classic and most other apps don't recognize Events in iPhoto. It's really annoying to look at photos on my iPod or AppleTV and just see this one huge list of photos. Why are Events not recognized outside of iPhoto? Is there a switch I can turn on somewhere?

    No, there's no such switch. You can use Albums - and very quickly make Albums of your Events. Other wise let the developers know you want this feature:
    iPhoto menu -> Provide iPhoto Feedback
    Regards
    TD

  • Remote User Events Library using VI Server

    I posted a reference library for creating User Events in LabVIEW that can be accessed over the network in the Community page. Check it out! It uses VI Server to enable sending the data across. It is based on the standard LabVIEW User Event functions, and is polymorphic to handle the following data types:
    String
    Object
    Variant
    Boolean
    Command (cluster containing String command and Variant data fields)
    I think this could be very useful. I use User Events all the time for their flexible many-to-many messaging format, and this provides a way to abstract that same syntax across the network.
    Community Link
    Example Server
    Example Client
    Jarrod S.
    National Instruments

    I dont have a use for these at the moment, i was asking if someone could possibly save these functions so i could use them in the future in LabView 2009.
    Regards
    Gary

  • Feedback: Infering the user does not use Libraries

    Infering the user is not actually using Libraries in Windows 10 - greatly optimizing the experience of opening Explorer
    Feedback: If user does not have a collection of folders in any Library on install an algorithm in Windows 10 should automatically disable Libraries.
    In that case Explorer > Folder Options > General > Navigation Pane > Show libraries should be automatically set to off when creating the user profile for the Windows 10 user for the first time.

    I was facing the very same, when trying to sync my MS Project with SharePoint. On first sync between MSP and SP all the names I had assigned in the Project plan were not transferred to the SP list.
    I tried to enter the names manually in the SP list (Current View: "Project Task"), but always got the message "The User does not exist or is not unique. Permissions to the SP site are ok and I tried users from different domains, all the same result.
    When switching to the view "All Tasks" and edit the list item manually, it works w/o any issue. Not sure why, but at least a workaround for the 1st issue, even though one more step to add a user.
    Now I added a few names which were not in my MSP plan before and syncing back did not work. Reason here is the differences of Regional settings. On SP name fields do apear e.g. like this: "Klick, Heiko ; Simpson, Bart". In MSP "Heiko Klick, Bart Simpson".
    So in SP the field delimiter is ";" and per default in MSP ",". Once changing this in my local regional settings, the names are getting synced back.
    The way you setup resources in MSP is important. When picking names from the Outlook Adress book they occur as e.g. "Bart Simpson" and I can not sync between MSP and SP. When picking the names from Active Directory they get added as "Simpson, Bart"
    and everything works well.
    I hope this will help others with the same issue.

  • Azure AD user name not using configured custom domain name

    I have configured a few users for Lync Online that I setup before I had custom domain name work with Azure AD.  Now I have the custom domain setup and verified and configured as the primary domain.  The users that were configured for Lync
    Online are still displayed with the *.onmicrosoft.com username in Azure AD.
    Is there a way I can change these users so their usernames use our custom domain?

    You can easily change the UPN via PowerShell:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
    If you want to do this in bulk for all users, you can use something like this:
    $all = Get-MsolUser -All
    $users = $all | ? {$_.UserPrincipalName -match "tenant.onmicrosoft.com"}
    $users | % {Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("tenant.onmicrosoft.com","domain.com")}
    Test it first against a single user of course :)

  • HT203042 I need to deactivate my iphone 4. I no longer own and the new user can not use it.

    I need to deactivate my  iphone 4. I no longer own it and the new owner can not use it.

    Giop123 wrote:
    this is very easy to do. if you go to : Settings > General > Reset > Erase All Content And Settings. This will restore all factory settings and wipe the phone completely of all your information and data.
    Hope this helps
    Please reread the OP question:  it states that he/she no longer owns the iphone.

  • [Solved] Disable sound events, not using a desktop

    I use plain Icewm (simple window manager, no desktop). Some software such as firefox or chromium do sometimes (but not often) make a sound relating to an event. If it possible to completely disable that. The only solution I have found is to uninstall libcanberra but for some reason, this solution is not satisfactory for me. I believe tjhis is some kind of freedesktop configuration but I have no idea how the freedesktop standard relate to sound.
    Last edited by olive (2013-08-19 18:35:17)

    I have tried a few things, but I am still out of luck. To have an example of what I mean, go to http://www.videocardbenchmark.net/ , select "Search for your Video Card" , then put an inexistants card and click "Find video card". You have a small windows saying "String <what you have typed not found>" and a "ding". i found no ways to disable these annoying ding. I thought having found the solution in https://wiki.archlinux.org/index.php/Libcanberra but the suggested settings (with false instead of true, of course) does not seem to have any effect. Still completely uninstalling libcanberra solve the problem. But I would like to have a per user settings...
    Last edited by olive (2013-08-17 13:47:59)

  • Timezone from portal user settings not used in DateNavigator

    Hi experts
    I'm facing a problem with DateNavigator component.
    There is a WDJ application that used with different timezones in NW Portal.
    In the app there is a DateNavigator which bound to the date context attribute.
    When user select some date in DateNavigator, system converts selected date to the context using system default timezone, rather than timezone in portal user settings. This leads to the fact that the time in context is wrong - the system considers that user works in "Default" timezone but really user works in its own timezone, which different with default.
    If I force TimeZone.setDefault(WDClientUser.getCurrentUser().getTimeZone()) everything works fine, but this is an empty and wrong way.
    I'm using NW 7.2 CE.
    Thanks in advice, how to solve this issue!

    mwohlf wrote:
    After Installing Patch 121657-19 the Calendar Express view seems to mix up
    the default preferences with the user selected preferences.I hit the same issue with a 6.2->6.3 upgraded system and a fresh 6.3 installation. A quick search didn't reveal any pre-existing bugs nor could I find any obvious problems delving into the xsl code -- please log a Sun support case to have this issue looked into further. Please note that in 6.3 calendar express is a deprecated interface so you should be making every effort to move to UWC/CE anyway.
    Regards,
    Shane.

  • How to restrict end-user from not using certain movement-types in MB1B

    Dear Gurus,
    My client wants that end user has access to only particular movement types in MB1B.i.e only to 311 and 412,421E.
    They do not want any other movement types to be access by end-users in MB1B
    How to go about this requirement?
    Thanks in advance
    Regards
    Ram
    Edited by: RAMKUMAR WARIYAR on Jun 27, 2009 2:14 PM

    hi,
    This is possible you can restrict and allow user for movement type which they can do through any t code.
    Contact yours BASIS consultant for that
    Regards,
    Vishal
    Edited by: VS on Jun 27, 2009 5:46 PM

  • May I know how to use the user event

    I saw a sample as the attached screen. The user event is used. I am totally new of user event.
    may you give a brief explanation of it and how it used.
    Thanks.
    Attachments:
    Event.JPG ‏195 KB

    Hi turbot,
    attached you will find an example. There is no need to use local variables.
    Mike
    Attachments:
    test41_LV80.vi ‏17 KB

  • "Not using a pattern recognized by the GSA table invalidation mechanism" warning (many-to-many items relationships)

    Hello.
    I'm getting such warnings on server startup:
    12:57:33,241 WARN  [StoreRepository] Warning - table: store_user appears in item descriptors: store and user but not using a pattern recognized by the GSA table invalidation mechanism.  Cached values from this table will not be updated when user's properties are modified.  These properties for this table are: [storeUsers]
    12:57:33,241 WARN  [StoreRepository] Missing a src id property in item-descriptor user's table named store_user whose column-names are store_id
    12:57:33,242 WARN  [StoreRepository] Missing a dst id property in item-descriptor store's table named store_user whose column-names are user_id
    12:57:33,242 WARN  [StoreRepository] Missing a dst multi property in item-descriptor store's table named store_user whose column-name is store_id
    12:57:33,242 WARN  [StoreRepository] Warning - table: store_user appears in item descriptors: user and store but not using a pattern recognized by the GSA table invalidation mechanism.  Cached values from this table will not be updated when store's properties are modified.  These properties for this table are: [userStores]
    12:57:33,243 WARN  [StoreRepository] Missing a src id property in item-descriptor store's table named store_user whose column-names are user_id
    12:57:33,243 WARN  [StoreRepository] Missing a dst id property in item-descriptor user's table named store_user whose column-names are store_id
    12:57:33,243 WARN  [StoreRepository] Missing a dst multi property in item-descriptor user's table named store_user whose column-name is user_id
    Here's repository definition file:
    <item-descriptor name="user" id-space-name="user" display-name="User" display-property="name">
      <table name="user_tbl" type="primary" id-column-name="user_id">
           <property name="id" column-name="user_id" data-type="string" display-name="Id">
                <attribute name="uiwritable" value="false" />
                <attribute name="propertySortPriority" value="-1" />
           </property>
           <property name="name" column-name="user_name" data-type="string" display-name="Name">
                <attribute name="propertySortPriority" value="-1" />
           </property>
      </table>
      <table name="store_user" type="multi" id-column-names="user_id" multi-column-name="store_id">
           <property name="userStores" display-name="User Stores" data-type="map" column-names="email" component-data-type="string">
                <attribute name="propertySortPriority" value="-1" />
                <attribute name="uiwritable" value="false" />
           </property>
      </table>
    </item-descriptor>
    <item-descriptor name="store" id-space-name="store" display-name="Store" display-property="name">
      <table name="store_tbl" type="primary" id-column-name="store_id">
           <property name="id" column-name="store_id" data-type="string" display-name="Id">
                <attribute name="uiwritable" value="false" />
                <attribute name="propertySortPriority" value="-1" />
           </property>
           <property name="name" column-name="store_name" data-type="string" display-name="Name">
                <attribute name="propertySortPriority" value="-1" />
           </property>
      </table>
      <table name="store_user" type="multi" id-column-names="store_id" multi-column-name="user_id">
           <property name="userStores" display-name="User Stores" data-type="map" column-names="email" component-data-type="string">
                <attribute name="propertySortPriority" value="-1" />
                <attribute name="uiwritable" value="false" />
           </property>
      </table>
    </item-descriptor>
    I'll appreciate it, if someone tell me what's wrong with my definition.
    Thank you in advance,
    Jurii.

    Hi Jurii,
    You are right about ATG docs do not have info about M-M that can fit into your requirement. So we have to give it a try :-)
    Please try with the below definition to see it it works.
    user_tbl and store_tbl - no changes
    store_user table has three columns - user_id, store_id and email
    <item-descriptor name="user" id-space-name="user" display-name="User" display-property="name">
      <table name="user_tbl" type="primary" id-column-name="user_id">
           <property name="id" column-name="user_id" data-type="string" display-name="Id">
                <attribute name="uiwritable" value="false" />
                <attribute name="propertySortPriority" value="-1" />
           </property>
           <property name="name" column-name="user_name" data-type="string" display-name="Name">
                <attribute name="propertySortPriority" value="-1" />
           </property>
      </table>
      <table name="store_user" type="multi" id-column-names="user_id">
           <property name="store" display-name="Stores" data-type="set" column-names="store_id" component-item-type="store"/>
        <property name="email" display-name="User Store Email" data-type="set" column-names="email" component-data-type="string"/>
      </table>
    </item-descriptor>
    <item-descriptor name="store" id-space-name="store" display-name="Store" display-property="name">
      <table name="store_tbl" type="primary" id-column-name="store_id">
           <property name="id" column-name="store_id" data-type="string" display-name="Id">
                <attribute name="uiwritable" value="false" />
                <attribute name="propertySortPriority" value="-1" />
           </property>
           <property name="name" column-name="store_name" data-type="string" display-name="Name">
                <attribute name="propertySortPriority" value="-1" />
           </property>
      </table>
      <table name="store_user" type="multi" id-column-names="store_id">
           <property name="user" display-name="Users" data-type="set" column-names="user_id" component-item-type="user"/>
        <property name="email" display-name="User Store Email" data-type="set" column-names="email" component-data-type="string"/>
      </table>
    </item-descriptor>
    Thanks,
    Gopinath Ramasamy

  • Event not showing up

    Upon returning home from vacation, I began uploading pictures of our snorkeling trip from a new camera (we bought a waterproof camera before vacation).  They seemed to upload just as normal, when prompted to delete photos from camera, I did so, as I always do.  I had named the event after our vacation destination.  I then un-mounted the camera and went to "events" to begin editing the photos.  My new event did not appear.  I panicked.  But, then remembered that I named the event and used the search feature.  When I entered the name of the event, it showed up.  However, when I click on "events" it still does not appear.  I would like to merge it with photos from my husbands photo stream that he took during our vacation, but it will not let me do this.  I would also just plain like the photos to appear in "Events" without using search (at which point they appear on their own page.)  I used Time Machine, just in case, to back up these new photos.  I have been afraid, though, that if I close iPhoto, the pictures will not be there when I return.  Any ideas?

    So what does your experiance tell you?  The event is there but you are not seeing it - so obviously you are looking in the wrong place.
    This is one of two things - the event sort - set it while in event view under the view menu ==> sort events - or the data and time of the photos (possibly m=not setting or mis-setting the camera prior to use - correct this by selecting the photos and using the adjust date and time command
    To merge events drag one onto another one or select two or more events and use the merge event command
    LN

Maybe you are looking for

  • Cannot log into iCloud after upgrading to Yosemite

    I have 3 iCloud accounts on my mac for various family members but after the upgrade I cannot get the iCloud account to log in. It just keeps asking for the password. Any ideas? Dhiran

  • Checking List of Specific Files exists in Folder

    Hi all, Please  help and advice business promises that they drop 10 Different Files with TimeStamp. 1. QHP_Group_Association_Benefit_Periods_20140117104957 2. QHP_Out_Of_Pocket_Limit_20140117110805 10.QHP_Strategy_20140117110230 I have a requirement

  • What can I Sync using my Nokia e61 and Isync

    Hi there Can I only sync contacts and Ical? I wanted to load some music and some pdf's onto the phone can I do this via the mac, or do I have to use the nokia cable and a PC? New to the E61 so keen to review what can be done with it and what cant - b

  • Problem with JFile Chooser in applet. help please!!!

    i am making a button for an applet that starts a JFileChooser. it works ok when i start it with the applet viewer in eclipse, but when i put my applet in HTML code and start it in a web browser the JFileChooser Doesn't start. i can click the button b

  • Does not read from the path

    Hi All, I am not sure if this is the right place for posting this. I have Oracle reports 10g installed in a linux box (10gAS). I have specified the path of the directories for reports in reports.sh file. But still it does not read from that path. Wha