LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
parthabe

Add a Transpose Array function as part of the Build Array function's Context Menu

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

I thought this would be useful in many scenario. Most often we do require to transpose the 2D Array after bundling some 1D Arrays. So, like the Concatenate Array option in the Build Array function, a Transpose Array function would be very helpful, reducing one another explicit node on the BD.

 

Any takers... ?! Smiley Happy

 

 

P.S.:- I did a search before  posting this idea, but it yielded zero result.

- Partha ( CLD until Oct 2027 🙂 )
6 Comments
PaulG.
Active Participant

Build array and transpose array are too functionally dissimilar to add to one primitive. You can always make your own.

PaulG.
Retired
Wart
Member

This would hide the transpose from someone working on the code later, wouldn't it?  The icon for the build would have to indicate that the array was transposed, otherwise debuging would be a nightmare.

parthabe
Trusted Enthusiast

Paul,

 

I agree to Wart's suggestion. I thought of writing it as a "Glyph/Symbol should be added to the Build Array Output", but somehow missed it.

 

When a Build Array could give a concatenated array output, why not optionally a transposed 2D array as well?! Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
Darin.K
Trusted Enthusiast

Transposition is a 2D operation only, Build Array is not limited to 2D operations.  They are not a natural match.

 

Matrices are limited to 2D and Build Matrix already gives you the option to build by rows or columns.

AristosQueue (NI)
NI Employee (retired)

As LV R&D: There's nothing *technically* wrong with this idea. Given enough kudos, we'd look into it, but given the disparate functionality, I would have my doubts about the idea getting much traction.

 

Personally: I'd vote a strong "no" on this idea. The two operations are totally dissimilar in the majority of cases, and, personally, I can only think of one VI that I've ever written that uses the "transpose array" node, whereas I use "build array" all the time. If you use these together often, this sounds like a great VI to put in your personal/corporate user.lib directory, but I don't think it belongs as a prim in LabVIEW.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.