In this example program, a SDM-SIO2R will read a visibility measurement from the CS120A. If the SIO2R does not get data from the CS120A three consecutive times, the SIO2R will turn off power to the sensor for 10 seconds and then turn power to the sensor back on and try communicating with it again.