11-07-2007 04:49 PM
11-08-2007 07:54 PM
03-07-2008 06:06 PM
03-10-2008 10:20 AM
Hi dilkgeet,
The only solution to the “problem” is to not disconnect the cable. Not much can be done to get a correct reading again except to reconnect the cable.
It may be possible to setup a detection method so that an operator could be alerted if the cable does become disconnected. One thing you could try would be to use the DIO lines on your breakout board. You could configure one digital line to output a 5 volt signal and use a second digital line to read it back. In your program you could continuously check if the second digital line is high (reading 5 Volts) and terminate the program if the signal goes low (meaning the cable has become disconnected and the second line can no longer read the 5 Volt signal). I haven’t had a chance to try this myself, but something of this nature could be used to detect a disconnected cable.