Limit switch returns true always

I hook up the limit switch, assign the correct channel and refnum name and whatnot. The classmate detects and updates the switch on its LED indicators, yet my code always sees it as true.

It’s obviously wired properly. Let’s see your program so we can help you find where the code might need to be fixed.