NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
JackDunaway

Static Event Registration of an Array Element

Status: New
by Trusted Enthusiast on ‎02-03-2010 12:45 PM - last edited on ‎06-03-2010 04:45 PM by Active Participant Laura F.

I would like to be able to make static event registrations for an element that is contained within an array. Note: this is not just a registration of an event that happens to the array, but an event that happens to an element in the array.

 

This can currently be achieved with dynamic event registration, but I would like static event registration for two reasons: less code, and dynamic event registration must occur with a FP showing whereas static event registration never errors (meaning dynamic events can pose a problem for plug-in architectures using SubPanels).

 

 Here's one specific example achieved with the current method of dynamic event registration. I have an array of a cluster that has two elements, but I only want to know when a user clicks on the Boolean.

DynamicEventReg.png

 

I want to be able to statically register that same event, which would look something like this (in 8.6.1):

 

StaticEventSelection.png

 

As a bonus, as part of the event data cluster on the left-hand side of the event structure, I would like an I32 array called "Index" that gives the multi-dimensional index of the item clicked.

Message Edited by Laura F. on 06-03-2010 04:45 PM
Comments
by Trusted Enthusiast on ‎06-03-2010 04:37 PM
Moderator has been notified to correctly spell "Registration" in the title of this Idea. Just realized I spelled "Regisration"... oops.
by Member smmarlow on ‎05-11-2011 03:59 PM

Kudos!  This an oldie, but a search turned it up while I was going to post the same idea.  I want this now!  Can't we bump older ideas to the top of "hot ideas" when they get new kudos and positive comments???

by Active Participant dthor on ‎05-11-2011 04:11 PM

I'm glad you posted on this idea smmarlow. I wouldn't have seen it otherwise, and I think it's a great idea.

by Member PatrickR on ‎02-04-2013 02:17 PM

Yes, this would be helpful with my current application.   I have an array of clusters, which contain a button so that you can edit that specific cluster.  It would be nice to be able to add an event handler through the usual process instead of requiring coding to get the same effect.

Latest LabVIEW Idea Exchange Blog Posts
About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Idea Statuses
Top Kudoed Authors
User Kudos Count
130
81
68
64
56
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page