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
> for logging usage. After 30k uses, it prevents the machineI could be flat wrong but 30k is close to 32k, which is one of those
> from working anymore. My boss tasked me with finding
> out how to get around
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
| mooooooo@avenues.org | http://www.disabilities-r-us.com
| XMMP: mooooooo@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