ArtnetnodeWifi icon indicating copy to clipboard operation
ArtnetnodeWifi copied to clipboard

DMXsend problems with certain devices

Open tlundi60 opened this issue 3 years ago • 2 comments

Hello and thanks again for the great library It works really well in my experiments. (dmx send) but with two devices (cheap goods) the device reports a DMX signal but not responding to input. I've done some research and have an opinion on the issue timing or DMX refresh rate ;

Is there anything you can change to see if it has an impact?

tlundi60 avatar Mar 24 '23 06:03 tlundi60

Hi, if you thing this is some sort of overload, you can simply try to reduce the from the Art-Net source. Maybe the software has on option for frames per second (FPS)? My library puts out what it can/gets.

If this is not possible, you can implement a "rate limiter" in the onDmxFrame() function.

static int counter = 0;
counter++;
if ((counter % 4) == 0) {
  return;
}

This will drop every 4th frame. This will give your device a bit more time to process the data.

rstephan avatar Mar 27 '23 14:03 rstephan

Hello and thanks for the support I'll experiment a little, I suspect that the cheap DMX devices probably don't buffer the input, because after a few tries I have the DMX commands displayed for about 1-2 seconds before the lamp goes dark again

tlundi60 avatar Mar 28 '23 05:03 tlundi60