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