08-19-2011 02:58 AM
Hello,
currently i have a loop that measures at a DMM and the result is shown at the panel.
Now i changed it to display the value also in a slider.
The problem is: How can i do it that the slider does show more than only the measrement.
I want to display also the 1. smallest and 2. biggest value and 3. one limit-value that represent the good-value.
I checked the properties of the slider but cant find something like this - or is slider the wrong thing?
Thanks for help
Solved! Go to Solution.
08-19-2011 03:20 AM
08-19-2011 03:23 AM
See the attached.
I added extra sliders to the indicator (right click, add slider), then just kept track of the max and min values using shift registers.
To change how the slider 'filling' (the blue shading between sliders) works, right click on each slider and select fill options.
Is that what you needed?
Ian
08-19-2011 04:03 PM
Nice idea with the sliders, just in case you were wondering what a Feedback Node version would look like.
08-20-2011 04:46 AM
Much tidier!
Although I must confess that I have a bit of a phobia of feedback nodes... they just never seem readable to me - I'm sure I'll get over it one day.
08-20-2011 10:48 AM - edited 08-20-2011 10:51 AM
For a more universal solution, I typically would initialize the feedback nodes with -Inf for the max and +inf for the min. If you don't, the numbers are meaningless in some situations. Altenatively, use a globally initialized feedback node and initialize it with the reading.
(For example if the reading never goes above 3, the max would still show as 8 in the above code)