E1.20 RDM (Remote Device Management) Protocol Forums

E1.20 RDM (Remote Device Management) Protocol Forums (http://www.rdmprotocol.org/forums/index.php)
-   RDM General Implementation Discussion (http://www.rdmprotocol.org/forums/forumdisplay.php?f=4)
-   -   Units in Status Messages (http://www.rdmprotocol.org/forums/showthread.php?t=1148)

tomsteer August 14th, 2012 08:55 AM

Units in Status Messages
Hello All,

We are working on a product implementing the STS_OVERTEMP message. The standard describes this as having two data values:

Data value 1 : Sensor Number
Data value 2 : Temperature
Status ID Description : Sensor %d over temp at %d degrees C

My question is, our unit has temperature sensors that have an accuracy of one decimal point (so can read e.g. 50.5C). That is handled by the sensor description of the unit. So what variety of temperature should we use in the data values of the status message - should it be the value in degrees C (e.g. 50) , or should it be the value as it would come from the SENSOR_VALUE command (e.g. 505)?


sblair August 14th, 2012 12:21 PM


Welcome! The data values for the status messages are specified as signed values but not floats. It could use the sensor definition messages to figure out the decimal point placement, but I'm pretty certain no one has implemented it that way. There was certainly no suggestion in the standard of that kind of implementation.

I would suggest the most reliable way of reporting it in the status message itself is going to be representing it as a whole integer. A user can always drill into the sensor reports directly to get more precision but the status messages were meant to have a generic message that could still give the user some useful information.

tomsteer September 26th, 2012 07:44 AM

Thanks Scott! That makes sense, and is what we were thinking..

All times are GMT -6. The time now is 12:19 AM.

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