LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to customize the slider

Solved!
Go to solution

Hi,

 

I am simulating a moving box on a straight path. So basically I want to show where the box is when time goes by. I think I can use "horizontal slide"  but I need to customize the slider so that it shows the real size of my box. How can I do it? or is there other way to do this kind of simulations?

 

Thanks,

 

Joyce

0 Kudos
Message 1 of 6
(2,969 Views)
Solution
Accepted by topic author Joycezh

Do you want something like this? You could also do this with a picture and move the picture around on your user interface so that you could creat more than one box and have them be different sizes.

Tim
GHSP
Message 2 of 6
(2,959 Views)

Hi Joyce!

 

There are plenty of ways to customise the slider for your needs.  If you hover over certain parts of the control you can use the drag handles to edit:

 

Custom Slide.png

 

Additionally you have much greater flexibility by creating a custom control, which you can access in the following manner

 

Customise Control.png


Regards,

Peter D

Message 3 of 6
(2,957 Views)

Thanks!

0 Kudos
Message 4 of 6
(2,939 Views)

Thank you!

great to know this trick!

0 Kudos
Message 5 of 6
(2,936 Views)

Just for fun!  Here's an example using a picture control.

 

PictureControlRun.png

 

Unzip the file, run the VI and move the slider.


Regards,

Peter D

0 Kudos
Message 6 of 6
(2,930 Views)