Added a retry to reading for the analog inputs to avoid a bug where reading back and forth between two analog inputs would cause the resource to be unavailable every 16 scans
Corrected the readback of the success bit to correctly check for a read and raise an exception on failure