LabWindows/CVI Idea Exchange

About LabWindows/CVI Idea Exchange

Do you have a feature idea for how to improve LabWindows/CVI? Submit and vote on ideas now!
  1. Browse by label or search in the LabWindows/CVI 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 New Idea to submit a product idea. You should submit a separate post for each idea. Watch as the community gives your idea kudos and adds their input.
  3. Give kudos to other ideas that you would like to see implemented!
  4. NI R&D will review ideas that have been submitted and update the status.

Note: the LabWindows/CVI Idea Exchange is not the appropriate forum to submit technical support questions.

The LabWindows/CVI R&D team is committed to reviewing every idea submitted via the LabWindows/CVI Idea Exchange. However, we cannot guarantee the implementation of any LabWindows/CVI Idea Exchange submission.

Showing results for 
Search instead for 
Did you mean: 

Better "auto numbering" in UI editor when you copy and paste a selection of controls

If you have, say, three controls called MAX_1, MAX_2, MAX_3 arranged vertically. If I select them all, copy and paste, the new controls appear as MAX_4, MAX_5 and MAX_6 but in the wrong order to what you would expect.















A similar issue occurs with assigning a group of controls to a control array, they always seem to be in the wrong order, usually reversed.

1 Comment
Active Participant

(I did write something here yesterday but I don't see it, so here goes again)


Also the auto control numbering it particularly dumb. If I create a control named CTRL_00 because I expect to have many controls, the first copy/paste will be CTRL_2. Makes a lot of sense !


If I name the 1st one CTRL1, the 2nd one will be, wait for it, CTRL1_2 !


Just take the value at the end (if there's one), the number of digits, increase by one and keep the same number of digits (unless there's an overflow). And start at 0, this is C, not Pascal.