3

I want to make a primitive movie player in Labview. I want the user to be able to load in a movie and have a slider to select frames. As such, I want the range of the slider to go from zero to N where N is the number of frames in the movie.

How do I set the scale of the slider programmatically?

I don't see any inputs to the slider, only one output.

Here is an example of a "Horizontal Pointer Slide" bar taken from the NI Website. The slide bar is in the upper right hand corner of the image.

enter image description here

AndyL
  • 14,302
  • 14
  • 43
  • 70

1 Answers1

12

Right click on the slider:

Create -> Property Node-> Data Entry Limits -> Maximum
Create -> Property Node-> Scale -> Range -> Maximum

This creates property nodes you can wire up to set the maximum limit of the slider.

Ton Plomp
  • 3,020
  • 1
  • 18
  • 35
AndyL
  • 14,302
  • 14
  • 43
  • 70