07-29-2009 09:34 PM
Can Any one pls say me how to set the scale of a 2-D array. I have a 2-D array of Knobs. I want to set each knob with equal scale .I tried using property node, but I couldnt see the option range in it. I my self want to set the max and min value of the scale(all the knobs in the 2-D array with equal scale).
Thank you,
Shanth.
07-29-2009 09:45 PM - edited 07-29-2009 09:48 PM
07-29-2009 09:48 PM
This is a little tricky, get array element reference property, typecast to knob type then set range. See attached:
07-29-2009 10:38 PM
Thank u all this is what Iam looking for. Thanks once again.
Shanth.
07-29-2009 10:53 PM
Is your problem solved? If so please mark the post (Whichever you think is the best solution for your query). This will help others facing same problem and looking for a solution.
07-30-2009 02:05 AM - edited 07-30-2009 02:06 AM
Forget the two example that just complicate things. As Darin already said, simply create a property for the knob. Since properties are shared by all array elements, it will apply to all.

(You cannot have different scales for different array elements anyway!).
07-30-2009 09:18 AM
Hello Altenbach,
I tried the way you mentioned as above, I was able to set the max and min values for array of knobs. But when I replaced the knobs with numeric array and created a property node I couldnt see the option range to select the max and min value.Is there any similar way to set the range.
Thank you,
Shanth.
07-30-2009 10:08 AM
shanth422 wrote:I tried the way you mentioned as above, I was able to set the max and min values for array of knobs. But when I replaced the knobs with numeric array and created a property node I couldnt see the option range to select the max and min value.Is there any similar way to set the range.
Your question is not clear enough. Please always attach a small VI showing us what you actually have. (After all,, the array of knobs is already a numeric array)
Simple numerics don't have scales. Are you trying to change the data entry limits? That's something entirely different.
07-30-2009 10:56 AM
Altenbach,
I want to set the visibility and range of numeric array, every element with the same scale but i want to set the range by giving max and min value when i create a property node i could only see the visible option but not the range.
Thank you,
Shanth.
07-30-2009 11:05 AM
As I mentioned, you are probably looking for the "data entry limits" property, just a few clicks down from the "visible" property.
With the knob, you are setting the scale range, which has nothing to do with the entry limits. The scale range is a purely cosmetic property, showing what range of the data is within the display limits, while the data entry limits provide a barrier, limiting the allowed data range of the values being entered.
You can easily have a scale from 0..10 and entry limits from [2..8] or [-100 to 2000] for example.