Problem with Code to Open Solenoids

The obvious question is: did you get a value from reading the analog_in?