![]() |
|
|||||||
| RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2014
Location: Treviso, Italy
Posts: 21
|
Thank you for quick answer but I suppose I was not clear in my question, so I will report an example:
let's say that I want send the string "QUADRATIC" which has 9 characters. I can send a message with the string "QUADRATIC" and PDL = 9 and it would be certainly ok. Or I could send a message with the string "QUADRATIC",<0x00>,"abcdefghijklmnopqrstuv" and PDL = 32. What about this second choice (see 10.1 of standard)? Thank you |
|
|
|
|
|
#2 |
|
Member
|
Section 10.1 states:
The Parameter Data Length shall accordingly be set to match the actual size of the text string being sent. The statement covering what shall be done in the case that a NULL is encountered, as I often see, does not qualify the use of NULL characters as appropriate. In my responder implimentations, I use null values to determine stored string length when shorter than 32, however, there is no need to return more characters that are available before the first NULL.
__________________
______________________________________________ Hamish Dumbreck |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|