LabVIEW Idea Exchange

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!
Top Kudoed Authors
Showing results for 
Search instead for 
Did you mean: 

Modify a Typedef from wire interaction

When using Typedef's I often have teh control wire passing through a VI. If I need to modify the typedef, I have to either create an instance of the controil/indicator, or got to a VI that uses the typedef control and the righ-click. From here I can open the Typedef.

 

What I would like to do is to be able to right-click on the wire and select directly 'Open Typedef' without having to go to a control.

image.png

It is a minor issue, but if I am in the middle of development in a VI, I don't want to have to click away from the VI under development to find the control. Additionally, creating a constant so that I can right-click on it is also not so convenient. If the Typedef is a large cluster, the block diagram may be distorted when the Typedef appears.

5 Comments
Member Mythilt
Member

I like this idea, though what would happen in the case of a non-typedef'd cluster that contains multiple typedef'd items?  Should it show multiple menu items? 

Also, what about nested typedefs?

Active Participant Mads
Active Participant

This gave me another idea: propagating typedefinition: Let's say that you have wired up lots of code, with subVIs etc all working on a wire - and you realize you should have based it on a typedef. Today this would mean you would need to click on one of your controls or indicators to create a typedef, and then youw ould need to replace all the other controls and indicators with that typedef. Instead we could just click on a wire, choose to make a typedef, and - it could offer us the option to replace the complete data flow up and downstream with that typedef. Voila. :-) If you have other VIs that need the same replacement but did not happen to be included in your current data flow then you still need to do that job manually...but that's OK.

Member Dmitry Member
Member

I really like Mads followup. It reminds me of how much hassle GOOP saves us when cloning a class. I think you should submit it as a separate entry.

 

Member cowen71
Member

@Mythilt: I cannot think how we could handle a non-typedef'ed cluster to allow editing. The point being there is no typedef to edit.

 

However, Mads idea is an excellent one. And I agree with Dmitry that this should be made as a separate idea. This could really be a useful time saving feature.

Active Participant Mads
Active Participant

Thanks guys, I've done as you suggested and have posted the comment as a separate idea.