Jump to content

Control Value: Get All (VI method)


Recommended Posts

Hi all,

I'm using Control Value: Get All [Variant], a method of the VI class. The method returns an array of clusters. Each control in the VI is represented by a cluster (of two elements: the name of a control and it's associated value expressed as a variant). The clusters are contained in the 1D array.

The only problem I'm having is that I'm not sure how to reorder my controls in the array. They seem to be ordered based on the order that they were added to the front panel of the VI. Unfortunately, this isn't the order I would like them in, and I want to avoid having to programmatically manipulate the array to order them properly. Is there some way I can change this order without either 1) going in and replacing all the controls on the VI in the desired order, or 2) programmatically manipulating the returned array?

Thanks for your time

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.