second universe on DMXUSBPRO MK2, let's get it once and for all !
Hi all,
I'm sure we're quite a number of max users,
needing that dammned 2nd output, to be accessible from max.
Here's a workaround, thanks to the vvvv community, and especially west and mfo users.
The second output needs to be enabled with some code, that i don't manage to program in max.
But this can be done, simply launching pro-manager (ENTTEC utility).
0-Launch PRO-MANAGER app
1- Select your device.
2-Go to the "send" tab
3-Output some data, on "both outputs 1&2" .
(for example, simply select "from faders" in the "source" undertab).
and it's done.
You should see your device blinking blue-yellow-green.
second output is now accessible from Max.
once you've done so,
you can use a serial object (with no attribute, it's working here)
and send :
for first universe --> 126 6 513 2 0 (512 values) 231
for 2nd universe --> 126 19 513 2 0 (512 values) 213
I'm adding an example patch .
If anybody here,
feels the ability to patch an "all-in-max solution" ,
that would get us rid of launching Pro-Manager,
please share it here , it would be so cool !
mfo and west (vvvv users) managed to do so.
here is a link to the file that enables it in vvvv.
The solution is in it, for those who can interpret the lines .
https://vvvv.org/contribution/enttec-dmx-usb-pro-mkii-module
Cheers all :)
Matthieu
Thank You!
that 213 at the end must be a mistake
Enttec DMX_PRO_END_MSG is allways 0xE7 - 231 decimal
test this 2 messages to mk2
126 13 4 0 173 136 208 200 231
126 203 2 0 1 1 231
should activate 2nd universe
I'll try that tonight !
That would be very cool :)
I forgot to mention you should use 169 as output ID for
2nd universe.
that one gets calculated from api keys
so
1st universe 126 6 ...
2nd universe 126 169 ...
---
I don't have mk2 at hand.
While you are at it, could you please test if sending only single universe
with set number of channels also works ?
example for 2nd universe:
126 169 11 0 0 100 100 100 100 100 100 100 100 100 100 231
should set first 10 channels to value 100.
11 0 is LSB MSB of channel numbers to send + 1
followed by start code 0
Hi Source Audio,
that's great, everything's working as you expect it :)
My first mistake was, as you pointed it, that damn 213 that had to be 231 !
using this message (list of the 2 messages, one after the other): "126 13 4 0 173 136 208 200 231, 126 203 2 0 1 1 231" , enables the holy second output :)
Then, sending the whole 512 list, or using the "LSB MSB" trick, both work like a charm.
thanks a lot, Source Audio :)
problem solved :)
cheers :)
Great, thank you for testing this !
it is actually a shame the way enttec treats this mk2 stuff.
they keep this api key kind of secret and send only per request,
so normal user can't simply stick usb and xlr cables and use the damn thing.
that breakout box is another shame.
the key i posted here is from
github.com/kylemcdonald/ofxDmx/blob/master/src/ofxDmx.cpp
I only extracted that few simple strings usable in max.
I guess using lsb msb and so shorting the length of messages,
can help send dmx faster and more reliable.
The lsb-msb trick, can make easier and faster,
the programming time, in some cases.
About Enttec,
i can also say, that their breakout cables are very, very, shitty .
the very poor quality of it (the cables and the connectors) doesn't meet the price,
they are sold at, at all !
I ended making my own mine .
And, don't expect it to be a possible midi interface,
it's a pure lie !
I only got involved into this
trying to help someone having Mk2 in use with max.
I would make own DMX box anyway if I needed one.
for 20 $
ArtNet rather than USB
yes, artnet, definitely :)