Adds error codes to differentiate between timeout possibilities, fixes delta range for data acquisition, and updates example code.

In order to debug a consistent timeout problem, I added error codes to differentiate between the possible places where the code could timeout.  It turns out that there was not enough time allowed to acquire data from the sensor, so the delta range was increased accordingly.