artnet-node icon indicating copy to clipboard operation
artnet-node copied to clipboard

Wrong Universe Number

Open soyniqolas opened this issue 8 years ago • 0 comments

If you are using the artnet-node server, when you receive DMX data, the "Universe" variable will show you the wrong universe number.

The problem is on the file /lib/artnet_server.js, at line 29.

You need to replace:

var universe = (data[14] * 256) + data[15];

with:

var universe = data[14] + data[15];

soyniqolas avatar Oct 12 '16 01:10 soyniqolas