07-15-2009 11:01 AM
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.
Solved! Go to Solution.
07-15-2009 11:04 AM
07-15-2009 11:18 AM
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.
07-15-2009 11:30 AM
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.
07-15-2009 11:41 AM
Dennis can you pls help me out with providing code to do this.
Thank you,
Shanth.
07-15-2009 12:49 PM
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.
07-15-2009 01:14 PM
Dennis,
Thanks a lot. This is what exactly I need. Thanks thanks for your time ..
Shanth.
07-16-2009 10:48 AM
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.
07-16-2009 11:11 AM - edited 07-16-2009 11:13 AM
07-16-2009 11:29 AM
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.