Thanks for the response Daniel, but sadly it is exactly 30k. The machine has
a readout on the display which gives a warning at 25k and stops functioning
at 30k. I'll post again when the 1-Wire usb and the scanner come in.

Thanks again for the responses!

Tim

On Tue, Apr 14, 2009 at 10:05 PM, Daniel Stasinski <moooo...@avenues.org>wrote:

> > for logging usage. After 30k uses, it prevents the machine
> > from working anymore. My boss tasked me with finding
> > out how to get around
>
> I could be flat wrong but 30k is close to 32k, which is one of those
> magical numbers.  It could be incrementing a counter that is evaluated
> as a 16 bit signed integer (which overflows at 32767 + 1).   Depending
> on the rest of the code, it could be as simple as changing it to a
> long integer.
>
> Daniel
>
> | ---------------------------------------------------------------
> | Daniel P. Stasinski          | http://www.saidsimple.com
> | moooo...@avenues.org         | http://www.disabilities-r-us.com
> | XMMP: moooo...@avenues.org   | http://www.avenues.org
> | Google Talk: mooooooo        | http://www.scriptkitties.com
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to