10-16-2014 02:01 AM
Hello all,
Is there is any way to get some columns/rows from Index Array without using For Loop?
I think, if we can pass group of index values (or) Signal value to Index array then more useful in some cases.
Index Array with group of index values at once.
10-16-2014 02:08 AM
Hi Munna,
no, at the moment it's not supported. You might create a new idea in the LabVIEW Idea Exchange!
I don't think I will support this as
- you have a working solution using the FOR loop
- for a fixed amount of index values you can increase the IndexArray node to have more outputs and combine it with a build array:
10-16-2014 02:16 AM
10-16-2014 02:36 AM
There is no reason not to use a FOR loop. They are very effcient structures.
Even if NI would create such a function, it would not be more efficient, because it would still need to do the same thing.
If you need this function often, make it a subVI (containing a FOR loop). You can even inline it to make the call overhead negligible.
10-16-2014 02:38 AM
Hi GerdW,
Here, Column index will change always so, that’s why I have not used Build array.
If onetime we get all indices then easy for programmer (instead of creating own logic).