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. https://img-fotki.yandex.ru/get/4404...a791df_XXL.jpg 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 |
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. |
Quote:
Quote:
|
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.
|
Quote:
|
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. |
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 seehttps://drive.google.com/file/d/0B0Q...ew?usp=sharing 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 https://picasaweb.google.com/lh/phot...eat=directlink - Arjan https://drive.google.com/file/d/0B0Q...ew?usp=sharing |
I've reproduced this issue with the Enttec MK 2 and have raised the issue with them.
|
All times are GMT -6. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.