LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Map lookup resizeable function

The index array function is resizeable. Could the same be done for the map lookup function?

Is there another elegant solution?

dtni_0-1683707782646.png

 

 

0 Kudos
Message 1 of 4
(857 Views)

@dtni wrote:

The index array function is resizeable. Could the same be done for the map lookup function?

Is there another elegant solution?

dtni_0-1683707782646.png

 

 


You can use Loop instead, no option to read multiple Key value similar to index array.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 4
(837 Views)

I agree that you should use a FOR loop.

 

In a well designed program, you would have an array of keys and want an array of values, no need for herding catsscalars!

 

altenbach_0-1683733846867.png

 

0 Kudos
Message 3 of 4
(810 Views)

The only way to make a resizable function is to use an XNodes (LabVIEW Wiki).

 

Really hard, not the way to go...

0 Kudos
Message 4 of 4
(780 Views)