|
RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product. |
|
Thread Tools | Search this Thread | Display Modes |
|
March 25th, 2015 | #1 |
Junior Member
Join Date: Jan 2015
Posts: 10
|
RDM Responder Tests and background DMX
Hi!
I have trouble running tests with DMX in background. The tests are run on Windows with VMware Player and Enttec DMX USB Pro Mk2. Tests are passed, but my LEDs are blinking during testing. I think this is because some tests are sent not between DMX frames, but they are breaking DMX frame, i.e. not full 128 slots are sent, but sometimes only 2 or 3 while my Responder has four DMX slots. And this is what happens. My responder gets some values for four slots (say, 0x55), then gets RDM request and process it (this takes sometimes up to 8-10 ms when I save parameters in flash and MCU doesn't respond due to disabled interrupts), then there's broken DMX frame with only 2-3 slots with higher value in this slots (say, 0x77) and Responder now has slots 0x77-0x77-0x55-0x55. And here's the question: is this normal operation when RDM tests are run not between full DMX frames, but break them at random places? The picture shows short DMX frame followed by RDM request and RDM response. dt shows BREAK to BREAK time (from DMX to RDM request) of 880 us, which less than 1204 minimum required BREAK-to-BREAK time from Table 6 of E1.11. Update: Setting high start DMX address for Responder, like 120 or 125, shows that full 128 slots DMX frames are rarely received by Responder during RDM tests run. The blinking could be avoided by driving LEDs with received DMX values only when full set of four slots received, thus dropping short DMX frames completely - this works for me, but I still want to understand if this behavior of RDM tests is normal. First video shows test with driving LEDs even when only one DMX slot is received - frequent blinking. http://www.youtube.com/watch?v=nPb7AF3w044 Second video shows test with driving LEDs only when all four slots are received - no blinking and gradually increasing brightness. https://youtu.be/F9yS93qfidE Last edited by alvangee; March 25th, 2015 at 03:34 AM. |
March 25th, 2015 | #2 |
Task Group Member
Join Date: Aug 2008
Posts: 378
|
In older versions of DMX (USITT DMX512) you could send variable length packets. I don't remember if E1.11 disallows that or not, but it's always been a bad practice. In any case, the controller must maintain the minimum break to break time, so the behavior you show is incorrect.
I'm not sure if this is an Enttec problem, or an issue with the USB Host Software. Assuming you're talking about the OLA RDM Responder tests, a few of the OLA developers read this forum, so hopefully they can give you some guidance. One other note, from the scope image, it looks like the responder may be enabling its line driver too soon. The responder should not start responding for at least 176us, and based on the slightly higher voltage levels I think it may be enabling the line drivers immediately after the request is finished. Last edited by ericthegeek; March 25th, 2015 at 12:30 PM. Reason: Acronym Spelling Correction |
March 25th, 2015 | #3 | ||
Junior Member
Join Date: Jan 2015
Posts: 10
|
Quote:
Quote:
|
||
March 25th, 2015 | #4 |
Task Group Member
Join Date: May 2010
Location: San Franciscio
Posts: 57
|
alvangee: can you open another issue on the github site please so we can track this. From my quick looks it appears this is a problem with the Enttec USB device.
__________________
Open Lighting Project: www.openlighting.org RDM Responder Tests: www.rdmtests.org |
March 26th, 2015 | #5 | |
Junior Member
Join Date: Jan 2015
Posts: 10
|
Quote:
|
|
March 27th, 2015 | #6 | |
Task Group Member
Join Date: Aug 2008
Posts: 378
|
Quote:
"Once a controller is configured for a particular application, all NULL START Code packets should have the same number of slots."Now, that's a "should", not a "shall", so variable length NSC packets don't strictly violate the standard. Still, it's a *very* bad practice. |
|
August 28th, 2015 | #7 |
Junior Member
Join Date: Jun 2015
Location: The Netherlands
Posts: 1
|
alvangee : I just ran a RDM Responder test with 128 DMX slots in between. DMX Frame rate = 20.
I have two Raspberry Pi's which are acting as an Enttec DMX USB Pro. One is set in Mode 2, and one is set in Mode 3 (OLA RDM Sniffer compatible). And one Raspberry Pi as a RDM Responder. I have uploaded the output of the sniffer here : https://drive.google.com/file/d/0B0Q...ew?usp=sharing When you do a grep DMX 128" Sniffer.log then you will see that the DMX data is correctly outputted by the host and widget. When you look at the sniffer monitor https://picasaweb.google.com/lh/phot...eat=directlink then you see statistics where the break-to-break time is 25000 us - Arjan |
October 25th, 2015 | #8 |
Task Group Member
Join Date: May 2010
Location: San Franciscio
Posts: 57
|
I've reproduced this issue with the Enttec MK 2 and have raised the issue with them.
__________________
Open Lighting Project: www.openlighting.org RDM Responder Tests: www.rdmtests.org |
Bookmarks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RDM Responder tests updated | nomis52 | RDM General Implementation Discussion | 0 | September 2nd, 2013 11:52 AM |
Differences in current OLA RDM Responder tests? | Robert040 | RDM General Implementation Discussion | 0 | July 16th, 2013 05:51 AM |
RDM Responder for low cost testing | jpk__ | RDM Marketplace Discussion | 0 | July 7th, 2013 08:00 PM |
RDM Responder Tests are Ready | nomis52 | RDM General Implementation Discussion | 2 | March 17th, 2011 06:41 PM |
Any RDM Responder Devices out there yet? | sblair | RDM Marketplace Discussion | 8 | September 20th, 2006 06:03 AM |