udpsend to artnet header data

piwolf's icon

Has anyone used the udpsend object in max to send directly to an artnet dmx output box? I am trying to figure out how to format the header data that deals with the dmx output. Im not concerned with all the server polling stuff because Im using it with a lighting console in line and merging. I just need to figure out how to format the OpOutput field header. I have the artnet spec sheet, but I still havent totally grasped the syntax I need to use with the udpsend object so i can send straight over the ethernet to the artnet box. Any syntax pointers?

piwolf's icon

this is my best shot at it now, and I am sitting here in a theater with only an ETC net setup so I cant test the artnet until a couple days from now. Anyone know if this is the correct format?
This is for an OpOutput stream of Artnet 2 version 1.4 with a node behavior of "0"

‘A’‘r’‘t’‘-’‘N’‘e’‘t’0x00 0x5000 2 14 00000000 00000000

thoughts?

Joost Rekveld's icon

did you check the archives ?

see for instance:

t=msg&goto=107067&rid=0&srch=artnet#msg_107067>

ciao,

Joost.

On Sep 6, 2007, at 2:48 , piwolf wrote:

>
> this is my best shot at it now, and I am sitting here in a theater
> with only an ETC net setup so I cant test the artnet until a couple
> days from now. Anyone know if this is the correct format?
> This is for an OpOutput stream of Artnet 2 version 1.4 with a node
> behavior of "0"
>
> ‘A’‘r’‘t’‘-
> ’‘N’‘e’‘t’0x00 0x5000 2
> 14 00000000 00000000
>
> thoughts?
> --
> no brand performance design

-------------------------------------------

Joost Rekveld
----------- http://www.lumen.nu/rekveld

-------------------------------------------

"Everything of importance has been said
before by somebody who did not discover it"
(Alfred North Whitehead)

-------------------------------------------

piwolf's icon

thanks for the abstraction Joost!
do you know if udpsend adds an OSC header on its output before it sends?

Joost Rekveld's icon
kleurbleur's icon

For the people coming here via the search. [udpsend] does something to the message before sending it, guess it has to do with OSC. The max object [mxj net.udp.send @address 1.2.3.4 @port 1234] does it clean.