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 June 19th, 2006   #1
sondericker
Banned
 
Join Date: Jun 2006
Posts: 11
Question Self Test

How can I tell how many self test types a certain piece of equipment supports? Is there a standard response, like a description length of zero, that I can count of receiving if I ask for a self test description for a self test that doesn't exist?

-john
sondericker is offline   Reply With Quote
Old June 19th, 2006   #2
sblair
Administrator
 
Join Date: Feb 2006
Posts: 433
Send a message via AIM to sblair Send a message via MSN to sblair
Default

John,

There is no direct way, however as you suggested you could look for a description length of 0. You should also look for a NACK coming back, most appropriate would be a NR_DATA_OUT_OF_RANGE when requesting a description for a Self Test beyond the range it supports.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair is offline   Reply With Quote
Old January 16th, 2007   #3
prwatE120
Task Group Member
 
Join Date: Jun 2006
Posts: 181
Default Self Test

You shoud not rely on responses to GET:SELF_TEST_DESCRIPTION to indicate which self tests are implemented, as there is no requirement to support this PID even though you might be supporting GET/SET SELF_TEST.

Indeed some of our small effects cards have some test functions but do not provide any descriptions.


I think the only way is trial and error until we agree on a revision

regards

Peter Willis
prwatE120 is offline   Reply With Quote
Old November 24th, 2007   #4
sjackman
Task Group Member
 
Join Date: Sep 2006
Posts: 26
Default

Perhaps a E120_GET_COMMAND_RESPONSE E120_PERFORM_SELFTEST could return two bytes: the current test running and the number of tests available, as the personality PID does.

Cheers,
Shaun
sjackman is offline   Reply With Quote
Old November 24th, 2007   #5
sjackman
Task Group Member
 
Join Date: Sep 2006
Posts: 26
Default

The protocol states that PERFORM_SELFTEST returns a flag: only 0 or 1. Much more useful is to return the number of the test currently running, or 0 for no test. I would absolutely recommend this change for a future revision of the protocol.

Cheers,
Shaun
sjackman is offline   Reply With Quote
Old December 11th, 2007   #6
sjackman
Task Group Member
 
Join Date: Sep 2006
Posts: 26
Default

GET SELF_TEST_DESCRIPTION with a "Self Test #" parameter of 0 -- which is defined to be SELF_TEST_OFF -- could return the maximum number of self tests.

Or, as I mentioned before, GET PERFORM_SELFTEST could return two bytes with the maximum in the second byte, just as GET DMX_PERSONALITY does.

A third alternative has ocurred to me: GET PARAMETER_DESCRIPTION can be used to get the minimum and maximum valid values. I had thought of PARAMETER_DESCRIPTION as only being useful for manufacturer-specific PIDs, but it seems pretty useful in this case.

Cheers,
Shaun
sjackman is offline   Reply With Quote
Old January 20th, 2008   #7
sblair
Administrator
 
Join Date: Feb 2006
Posts: 433
Send a message via AIM to sblair Send a message via MSN to sblair
Default

Shaun,

Those are all good possibilities for us to add in the future. For the time being, I would suggest going by the NACK DATA_OUT_OF_RANGE response to indicate that you are beyond the range of supported Self Test parameters.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair 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
RDM Test Equipment? HaroldHallikainen RDM General Implementation Discussion 3 February 28th, 2007 04:05 PM


All times are GMT -6. The time now is 02:01 PM.


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