LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Index Array Icons: Palette and Block Diagram Discrepancy

Solved!
Go to solution

Hello all

 

Why are the Index Array icons discrepants? 

There's a little difference between both of them...

 

...That's how you see when you look up at the Array Palette...

index array 1.png

 

... But that's how it appears when placed in the block diagram.

index array 2.png

 

Compare it yourself:

 

Icons Comparison.png

 

 

 

Is there some reason for this? I really don't know. I've also looked up for some thread with this subject but I didn't find any.

Have you ever noticed this?

BTW, I'm using LabVIEW 2012 SP1.

 

Best regards 😄

Mondoni
Message 1 of 6
(3,334 Views)

Just realized it happens with lots of icons, besides the index array function.

Why?

Mondoni
0 Kudos
Message 2 of 6
(3,332 Views)

Hi Joao,

 

what happens to the IndexArray icon when you wire a 2D (or more dimensions) array to it? What happens to the icon when you wire all index inputs for a more-than-1D array input?

The picture in the context help also shows that you could index more than just one element from an array with this function!

 

One more note: several of the function icons where redesigned in some older LabVIEW versions. What you see now is maybe some leftover from such a decision?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 6
(3,324 Views)

Hello GerdW

 

Wiring a 2D Array to the n-dimension array input...

 

2D Array-Index Array.png

 

When I wire all index inputs for a more-than-1D array, there's no change in the icon.

About the picture in the context help, I've already seen it, but thanks anyway.

 

Maybe what you pointed out makes sense. I started using LabVIEW last year, so I've only used 2011 and 2012. That's why I don't know any old icons.

 

Thank you for your response 🙂

 

Regards

 

 

Mondoni
0 Kudos
Message 4 of 6
(3,319 Views)
Solution
Accepted by topic author joaopam

Hi Joao,

 

so to sum up:

- the icon changes when wiring a 2D array input instead of a 1D array input

- the icon changes too when wiring a 2D array input and additionally wiring all index inputs

- the context help shows hints additionally how to index more than one element of an array

- the palette shows (maybe) an older version of the icon

 

So there will be more than just one single fixed icon for the IndexArray function, but only one version is shown. You will notice this behaviour for a lot more functions...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(3,303 Views)

Hello GerdW

 

It all makes more sense now.

Actually, a few moments after I created this thread, I realized that this behavior occurs with dozens of other functions too.

Now I see it. 😄

 

This is a interesting behavior, by the way.

Thank you for your answers!! 

 

Regards

Mondoni
0 Kudos
Message 6 of 6
(3,290 Views)