LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the Knob scale

Solved!
Go to solution

Does any one know how to set the knob scale with out going to properties option. I want to give two inputs the min value and max value so that the knob scale lies in that range.

 

Thank you,

 

Shanth.

0 Kudos
Message 1 of 11
(7,231 Views)
On the front panel, just doulbe click on the scale you want to change and enter the new value. This assumes you have automatic tool selection turned on.
0 Kudos
Message 2 of 11
(7,230 Views)

Dennis,

 

          What actually Iam looking is I have to give two i/ps to the knob one the min value and other is max value. Taking this two inputs knob should decide its range.Because Iam using the same knob for 2-3 parametrs. Each has different scale range. And I dont want to set defaultly the highest trip point.

 

Thank you

 

Shanth.

 

 

0 Kudos
Message 3 of 11
(7,224 Views)

Well, you asked how to set the knob's min and max without using the property node. The only way to do it programatically with a couple of inputs is by writing to the properties Scale.Range.Minimum and Scale.Range.Maximum.

0 Kudos
Message 4 of 11
(7,221 Views)

Dennis can you pls help me out with providing code to do this.

 

Thank you,

 

Shanth.

0 Kudos
Message 5 of 11
(7,207 Views)
Solution
Accepted by pks

Right click on the knob and select 'Create>Property Node>Scale>Range>Maximum'. On the block diagram, you can drag the property down and the next property should be Minimum. Otherwise, right click and browse to the correct property. Right click again and select 'Change All to Write'. Wire up your values.

 Knob Range Property.PNG

 

0 Kudos
Message 6 of 11
(7,200 Views)

Dennis,

 

          Thanks a lot. This is what exactly I need. Thanks thanks for your time ..

 

Shanth.

0 Kudos
Message 7 of 11
(7,194 Views)

Hello Dennis,

 

                   Iam trying to create an array of knobs based on size of my message table and assign each knob with a different scale and different value. I was able to create the arrays but I have trouble in assigning the scale and values to the knobs. Can you pls help me out at this point. Iam attaching the vi which Iam working on.

 Here I want the column 1 has the scale details and column 2 has the value details. What exactly Iam trying to do is I want to create the knobs equal to no of rows in the table with there respective scales and values.

 

Thank you,

 

Shanth.

0 Kudos
Message 8 of 11
(7,165 Views)
As mentioned here, you cannot assign different properties to array elements. Is the maximum number of controls unbounded or finite?
Message Edited by Dennis Knutson on 07-16-2009 10:13 AM
0 Kudos
Message 9 of 11
(7,160 Views)

Dennis,

 

          The maximun no of controls will vary from type of test to test we perform. But definitely it will be a finite value.At the max we might use 100 knobs for one test.

 

 

 

Thank you,

 

Shanth.

0 Kudos
Message 10 of 11
(7,150 Views)