LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scale of 2-D array of knobs.

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. 

0 Kudos
Message 1 of 12
(4,639 Views)
The easiest way I know of is to right-click on the knob inside the array and create a property node with the scale.  Otherwise, use 'To More Specific Class' on the Array Element Property.  Select Knob as the class (it takes a few submenus to find it), and then set the scale as desired.  Of course, all knobs will share the same properties.
Message Edited by Darin.K on 07-29-2009 09:48 PM
0 Kudos
Message 2 of 12
(4,636 Views)

This is a little tricky, get array element reference property, typecast to knob type then set range.  See attached:

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 12
(4,634 Views)

Thank u all this is what Iam looking for. Thanks once again.

 

 

 

Shanth. 

0 Kudos
Message 4 of 12
(4,619 Views)

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.

Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 5 of 12
(4,615 Views)

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!).

Message Edited by altenbach on 07-30-2009 12:06 AM
Download All
0 Kudos
Message 6 of 12
(4,601 Views)

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.

0 Kudos
Message 7 of 12
(4,583 Views)

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.

 

 

0 Kudos
Message 8 of 12
(4,576 Views)

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.

0 Kudos
Message 9 of 12
(4,559 Views)

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.

 

 

0 Kudos
Message 10 of 12
(4,557 Views)