09-17-2015 10:41 AM
please check this vi. what i have done.
and help me if anything i missed.
09-17-2015 10:44 AM - edited 09-17-2015 10:45 AM
@mubin wrote:
please check this vi. what i have done.
and help me if anything i missed.
Like you mentioned above, the value change just makes the slider skip around since the mouse is still trying to change it. You need to move the mouse because it will skip around like I'm still seeing in this VI. Look at the VI I attached in LV2013 and mimic the way I move the mouse. I've done a lot of legwork there for you.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-17-2015 10:52 AM
i have seen your vi. its great work you have done. but, if i try to increment or decrement from digital display of slider it is not working fine.
09-17-2015 10:53 AM
@mubin wrote:
i have seen your vi. its great work you have done. but, if i try to increment or decrement from digital display of slider it is not working fine.
Ok, then you'll need to add logic within the case to tell whether or not the value is being changed by the user dragging along the bar or not.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-17-2015 11:32 AM
user wants to drag slider up and down. and able to increment or decrement from digital display also.
In my vi, i can able to increment or decrement from digital display with smooth jump. but with slider drag then i am not getting smooth jump.
i know that problem is with updating slider value every time, but i need smooth jump.
09-17-2015 11:54 AM
The VI I gave you gives a smooth jump when the user is dragging.
The Vi you made gives a smooth jump when the user is incrementing or decrementing digital display.
Therefore:
Create a VI that uses a combination of the two methods to get your desired result. Use a few case structures to get your desired results. I suggest using the bounds of the slider range to figure out if the mouse is within it's bounds when there's a value change. I've written the hardest part of the code for you already, so you should be able to do the rest of the legwork to get your desired result.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'