Diagnostic Aids
WARNING: This page is about a different car, the 2007 GMC Sierra and 2007 Chevrolet Silverado. However, it is still accessible from the selected car via links, so may be relevant.
Each of the two sensors show the transfer case movement in degrees. Find the sensor either the incremental sensor or the RPS that seems to not be showing a reading in degrees and is doing so erratically this is probably the sensor causing the DTC.