Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69058

Setting the range of scale programmatically

$
0
0

Hello Everyone 

 

I am really new in LabVIEW and trying to develop and program that reads laser sensors for height measurements. the program is to observe movement of two separate objects, lasers pointing at them all the time and see how they move vertically. 

problem I have is following: I want to make range of a slider (which is my case is just an indicator of displacement) programmatically changeable. I want to two buttons on front panel set top and set zero be able to set input values as max value and as zero and rescale the slider accordingly. Actual height difference between zero and max points always going to be 0.5cm so observable range of input signal I want to be in the bounds of +0.5cm to -0.5 cm. but the reason why I want to change the values as a user is because heights are difference for all the measurements but displacement range always 1 cm. 

 

I am not sure if I explained it well. So, if any clarification needed just let me know. 

 

Many thanks 


Viewing all articles
Browse latest Browse all 69058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>