rhoward99 Posted November 17, 2005 Report Posted November 17, 2005 I am controlling a valve which has a limit switch that supplies 2.5 volts when it is open and -2.5 volts when it is closed. I would like to convert this voltage value to a boolean for easy input to an LED. Being new to LabVIEW, I'm not sure if there is a built-in way to do this. I don't have an DIO's available, so I am reading the value through an analog terminal. Currently, I am using a compare node and setting the value to "T" if > 1 and "F" if < 1. Is there a better way? Thanks! Rick Quote
m3nth Posted November 17, 2005 Report Posted November 17, 2005 Sure that works. If I'm not misinterpreting what you're saying, you could just wire a >0 comparison with the numeric input and the boolean output to your LED. Or <0 if the logic was the other way around. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.