LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you display the marker values LabVIEW has chosen for a slider with uniformly spaced markers?

I am trying to set up a slider in a program to control an instrument.  For the most part, using uniformly spaced markers and just setting the slider's (and scale's) min and max values with a property node works well.  However, for some sets of extrema for the slider, the last two marker values are very close together.  I tried making a sequence where I: Set mins and maxes in frame 0, Get the marker values in frame 1, Go thru them and make sure the last two are not too close together in frame 2, and re-set them in frame 3.  However, the marker values that come out of the property node when I try to get the ones set by Labview seem to be the default for the slider, rather than the new ones Labview figured out.  If there was only a few ranges for the slider, I'd just majually set the marker values.  However, there are multiple configurations for the instrument, and thus multiple ranges for the slider, including custom ones.  Any help would be appreciated.  Thanks.
0 Kudos
Message 1 of 3
(3,164 Views)
Hello Jpowell,

Could you provide a screenshot of what you are seeing so I can better visualize the issue?  Also, could you further clarify what you are seeing when you say "when I try to get the ones set by Labview seem to be the default for the slider, rather than the new ones Labview figured out"?

Thanks
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 3
(3,148 Views)
What I mean is that after Labview automatically picks the markers, I tried to use a property node to view the markervalues[] array.  That array, however, appears to be the default for the slider.  A picture is included of what I mean by having two values too close together.
0 Kudos
Message 3 of 3
(3,143 Views)