E1.20 RDM (Remote Device Management) Protocol Forums

E1.20 RDM (Remote Device Management) Protocol Forums (http://www.rdmprotocol.org/forums/index.php)
-   RDM Interpretation Questions (http://www.rdmprotocol.org/forums/forumdisplay.php?f=5)
-   -   Max Value for 32bit Timers (http://www.rdmprotocol.org/forums/showthread.php?t=67)

prwatE120 January 16th, 2007 04:24 PM

Max Value for 32bit Timers
 
Are we agreed that the data in the 32bit Hours/Lamp/Lamp Strike counters is unsigned ? ie max value is 0xFFFFFFFF ?

As far as I can see we do not explicitly state this anywhere in the document - apologies if I have missed it.

regards

Peter Willis

Javid Butler January 16th, 2007 05:25 PM

Yes. I can't think of any situation where there would be negative lamp hours, and anything other than an unsigned integer would only lead to confusion.

sblair January 19th, 2007 06:43 PM

Yes, everything should be unsigned values so that the max value should be 0xFFFFFFFF.

It would also be a good idea for these type fields to not roll over if they exceed the 0xFFFFFFFF value and instead just remain at that Max value.

prwatE120 January 20th, 2007 05:55 AM

Just a note that this was discussed at the Jan 19th 2007 Task group meeting in Dallas and that Scott's response reflected the consensus of the group at that time.

Peter Willis


All times are GMT -6. The time now is 04:07 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.