I have a sub vi that accepts an array of ref's to slide controls and checks if the value is out of range of the scale and will change the indicator color red if it is. Works great. (See attached pic: Slide.jpg)
I also have some knobs that I want to do the same test with. So Intead of using the Slide class as the input, I use the NumericWithScale class which both Slide and Knob derive from. Problem is that the NumericWithScale class does not expose the Scale properties. Why is that? (See attached pic: NumScale.jpg)
I know I can write a polymorphic vi to handle each type (slide and knob) but that amounts to basically writing 2 vi's to do the same thing and I would have to create 2 different control arrays in the calling vi.
So back to the question of why doesn't the NumericWithScale class expose the Scale properties?