开发者

Dynamically set maximum scale of horizontal pointer slide in labview?

I want to make a primitive movie player in Labview. I want开发者_JAVA技巧 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.

Dynamically set maximum scale of horizontal pointer slide in labview?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜