LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do the Scrollbar properties work

Solved!
Go to solution

I am wanting to use the scrollbar control in place of the waveform graph horizontal scroll bar to force appropriate resizing, but I am having an issue understanding what the properties for it actually do. Let's say my X axis has 140 points on it. When zoomed in on the data only say 50 points show. How do I use DocMax/Min, Page Size, and Increment to ensure I can view all of the data moving left and right without slack on either end of thescrollbar? I have looked at both the context help for the properties and the cluster scrollbar example.

 

I suppose while I am at it, how do I position the slider in the correct position based on the position of the data being viewed?

 

I have attached my current attempt. The code I need help with is in Config_Scrollbar.vi which is within the false outer case.

 

VI's were written in labview 2012

0 Kudos
Message 1 of 3
(2,527 Views)

Apologies, I forgot to include one of the subvi's.

0 Kudos
Message 2 of 3
(2,519 Views)
Solution
Accepted by topic author Wandern

This got it.

 

 

scrollbar_scaling.png

Message 3 of 3
(2,500 Views)