E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM General Implementation Discussion

RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product.

Reply
 
Thread Tools Search this Thread Display Modes
Old August 14th, 2012   #1
tomsteer
Junior Member
 
Join Date: Aug 2012
Posts: 2
Default 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)?

-Tom
tomsteer is offline   Reply With Quote
Old August 14th, 2012   #2
sblair
Administrator
 
Join Date: Feb 2006
Posts: 415
Send a message via AIM to sblair Send a message via MSN to sblair
Default

Tom,

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.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair is offline   Reply With Quote
Old September 26th, 2012   #3
tomsteer
Junior Member
 
Join Date: Aug 2012
Posts: 2
Default

Thanks Scott! That makes sense, and is what we were thinking..
tomsteer 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


All times are GMT -6. The time now is 07:15 AM.


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