E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM Interpretation Questions

RDM Interpretation Questions Discussion and questions relating to interpreting and understanding the E1.20 RDM Standard.

Reply
 
Thread Tools Search this Thread Display Modes
Old April 11th, 2021   #1
sblair
Administrator
 
Join Date: Feb 2006
Posts: 441
Send a message via AIM to sblair Send a message via MSN to sblair
Default

Fish,

You raised some very good questions. These are questions we will need to clarify in a future revision to the standard.

I went back to Wayne Howell who wrote that portion of the original document. Here's his comments on the original thinking:

Quote:
For SENS_MEMORY or any sensor type using UNITS_BYTE, the prefix is 1024. So using the commenter’s example:

No Prefix - 1024 UNITS_BYTE = 1024 bytes = 1 Kbyte
Kilo prefix - 1 UNITS_BYTE = 1024 bytes = 1 Kbyte
Kilo prefix - 1000 UNITS_BYTE = 1000 Kbytes
Kilo prefix - 1024 UNITS_BYTE = 1 Mbyte

Using milli etc was never considered and should be thought of as undefined.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair is offline   Reply With Quote
Old June 28th, 2021   #2
peternewman
Junior Member
 
Join Date: Oct 2018
Location: London
Posts: 11
Default

Quote:
Originally Posted by FishAI View Post
Recently my colleague and I discussed one interesting bit of the E1-20 standard. Beneath Table A-14 is the following annotation:
"When a prefix is used with MEMORY, the multiplier refers to binary multiple. i.e. KILO means multiply by 1024."
I suspect you'll find most controllers are probably just concatenating the PREFIX and UNIT fields together, so the multiplier is more for the device end to ensure it sends the correct value, i.e. you need to divide your bytes measurement by 1024 to get the value you send to the controller.


The real edge case here is if they show mkg or g for grammes!


Quote:
Originally Posted by FishAI View Post
Also, there is the special case of exponents being less than 1. What would you expect, if any device reports the following values:
SENSOR_DEFINITION: SENS_MEMORY, UNIT_BYTE, PREFIX_MILLI
SENSOR_VALUE: PresentValue: 0x00000120
Obviously the device reports some sort of undefined partially byte. But would you expect a value of 0.288 millibyte or something different?
We do not know any defined prefix for base 2 with the exponent being less than 1 (like kibi for the exponent being 3). Are there any?
Quote:
Originally Posted by sblair View Post
I went back to Wayne Howell who wrote that portion of the original document. Here's his comments on the original thinking:Using milli etc was never considered and should be thought of as undefined.

Couldn't you use 128 millibytes (miB) to represent a bit?!
peternewman is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sensor type and Sensor unit for No of Phases question berntd RDM General Implementation Discussion 1 October 1st, 2009 10:04 PM
Sensor type and Sensor unit for DMX rate question berntd RDM General Implementation Discussion 3 October 1st, 2009 12:41 AM
SC_SUB_MESSAGE values Brian Sidebotham RDM Interpretation Questions 5 August 7th, 2006 05:37 PM


All times are GMT -6. The time now is 01:00 AM.


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