Bug #157

Time Stamp Bit Size Wrong On Arduino and Client

Added by Jeremy Wright almost 10 years ago. Updated over 9 years ago.

Status:Feedback Start date:08/13/2013
Priority:High Due date:
Assignee:Jeremy Wright % Done:

0%

Category:-
Target version:v2.0 Shepard Test Stand - Prototype Estimated time:1.00 hour

Description

On the client side (laptop) we have been reading the time stamp (via the millis function) as a signed integer. According to the documentation, we should be treating that value as an unsigned long, giving us up to 50 days before it rolls over.

http://arduino.cc/en/Reference/millis

To do this we'll have to account for the fact that a long on the Arduino is 32 bits. Currently we're only sending 16 bits over the wire to the client. Sending 32 bits will slow the data rate down slightly, but I'm not sure yet by how much.

History

Updated by Christopher Sigman over 9 years ago

  • Status changed from New to In Progress

I updated the Java code last night to account for this. Since the Arduino Wiring code has been updated as well, I think this issue should be moved to "feedback" for testing.

Updated by Jeremy Wright over 9 years ago

  • Status changed from In Progress to Feedback

Moved to feedback status per Chris' suggestion.

Updated by Jeremy Wright over 9 years ago

  • Target version changed from v1.1 Shepard Test Stand - Prototype to v1.0 Shepard Test Stand - Prototype

Updated by Jeremy Wright over 9 years ago

  • Target version changed from v1.0 Shepard Test Stand - Prototype to v2.0 Shepard Test Stand - Prototype

Also available in: Atom PDF