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

Add "Copy Case Contents To" right click menu

Wiring an enum to the selector of a case structure.is a very common activity.  You facilitate this by having a function in the right click menu called "Add Case for Every Value", which is a nice feature I use frequently.  Very often for enums, however, the contents of case statements is very similar between cases.  Maybe one or two things are different between each case.

 

I propose you add a function that copies the contents (including the wire connection ports) of the selected case to other cases or all cases.  If this were available, a base set of code could be made in one case and transferred to others and then modified as needed.

 

Copy Case Contents.png

 

Thanks for listening!

 

6 Comments
Active Participant

Are you familiar with 'Duplicate Case' 3 items above your new one in your screenshot?

 

That being said, there are a few ideas pretty similar to this floating around.  Here's one.

--
Tim Elsey
Certified LabVIEW Architect
Member

Of course...

 

But "Add Case for Every Value" and "Duplicate Case" do not play well together.  I guess another way to look at my request is to combine "Add Case for Every Value" and "Duplicate Case" into one function.

Active Participant

@jrasco wrote:

 Of course...


I figured as much.  I usually will Duplicate case as needed until I have all my cases, rather than creating empty cases for all values. 

--
Tim Elsey
Certified LabVIEW Architect
Member

Elset,

I got interrupted before I could click on the link in your post.  Now that I have, that's exactly what I'm looking for.  I've added my Kudos there.  I suggest anyone else who finds my post do the same.

 

Jacob

Member

For me there are too many items in the menu to justify yet another one. No kudoos, sorry.

Proven Zealot