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: 
LukeASomers

Array FP Controls and Indicators can show 1D array in 2D

Status: New

Allow array controls and indicators to line-wrap 1D data into a 2D display.

 

I have, say, a 1x1000 array of square images, and I'm browsing through them, and it'd be really lovely to be able to pop them into a grid as a single display element instead of having to make several array indicators with carefully synchronized display indices, or reshaping the array.

 

That is, if I have a 1D array consisting of the alphabet, and I pull the array indicator into 3x3, then it could look like:

 

abc

def

ghi

 

or if I entered index 1 in the index box, it would show

 

bcd

efg

hij

 

etc.

 

An option to allow vertical-first would seem reasonable:

 

adg

beh

cfi

1 Comment
AristosQueue
Proven Zealot

Although we could do this, I would be surprised if it gains traction. Array controls are often poor UI elements for complex interactions. If you are attempting to make a good UI for array data, I would recommend that you reformat it into some more usable view -- and that would not be a 2D array. I don't think that creating a different flow of the 1D control would help in too many cases, but I'm interested in the comments from other customers. 

 

Taking off my LVR&D hat and speaking solely for myself as a G developer, for a gallery view of images, I would consider building an XControl whose data type is the 1D array. That would allow me to only copy as many picture elements into a 2D display as necessary (no extra duplication of the whole 1D array) and keep the image management code off of my main block diagram. Also avoids having an additional control on the front panel.