09-18-2013 12:44 PM
In order to control the number of bins in a histogram, I need a control switch that can choose between numbers e.g.. 2048, 1024, 512, 256, 128 and 64. Does there exist a LabView switch or vi for this action?
Solved! Go to Solution.
09-18-2013 12:49 PM
a Ring control would be a simple solution
09-18-2013 12:56 PM
can you be more specific about what the control will do?
09-18-2013 01:11 PM
The number will choose the number of loops in a for loop, in which the original array is reduced to a subset
09-18-2013 01:46 PM
still having a hard time understanding...maybe this?
09-18-2013 01:49 PM
@apok wrote:
still having a hard time understanding...maybe this?
Apok, That's exactly why we use ring controls like the one in my last post there is no need for all those lookup tables.
09-18-2013 02:13 PM
@JÞB wrote:
Apok, That's exactly why we use ring controls like the one in my last post there is no need for all those lookup tables.
did i just 'rube'd' again?
09-18-2013 03:02 PM
No real need to look up anything or create an enum. Just use the Power of 2.vi.
09-18-2013 04:06 PM
@apok wrote:
@JÞB wrote:
Apok, That's exactly why we use ring controls like the one in my last post there is no need for all those lookup tables.did i just 'rube'd' again?
Nah, that won't get you Rube'd, just schooled. Forum participation is often a source of learning for all of us. Keep on dishing what you know!
09-18-2013 05:46 PM
Thank you all for your attention. And Jeff, thank you for your very elegant solution! The students will be grateful for not having to bother with arrays!