06-10-2013 09:04 AM
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
Solved! Go to Solution.
06-10-2013 09:19 AM
Apologies, I forgot to include one of the subvi's.
06-10-2013 11:32 AM - edited 06-10-2013 11:33 AM
This got it.