|
RDM Interpretation Questions Discussion and questions relating to interpreting and understanding the E1.20 RDM Standard. |
|
Thread Tools | Search this Thread | Display Modes |
|
January 16th, 2007 | #1 |
Task Group Member
Join Date: Jun 2006
Posts: 181
|
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 |
January 16th, 2007 | #2 |
Task Group Member
Join Date: Dec 2006
Posts: 14
|
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.
|
January 19th, 2007 | #3 |
Administrator
|
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.
__________________
Scott M. Blair RDM Protocol Forums Admin |
January 20th, 2007 | #4 |
Task Group Member
Join Date: Jun 2006
Posts: 181
|
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 |
Bookmarks |
|
|