Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMXsend problems with certain devices #22

Open
tlundi60 opened this issue Mar 24, 2023 · 2 comments
Open

DMXsend problems with certain devices #22

tlundi60 opened this issue Mar 24, 2023 · 2 comments

Comments

@tlundi60
Copy link

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?

@rstephan
Copy link
Owner

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.

@tlundi60
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants