Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

SubjectRe: [LCtalk] MAX --UDP--> Lanbox
FromFokko van Duin
DateFri, 21 Jan 2005 16:30:49 +0100


At 15:43 +0100 21-01-2005, Samuel Gaehwiler wrote:
thanks MJ and Fokko,

I try to summarize my now extended (but most likely not 100% correct) knowledge about data transfer to a Lanbox with UDP:

INSIDE THE LANBOX:
in the "global settings..." UDP tab:
- "from sender": anyone:4777
there's no need to change this setting.
- "copy light channels" and "to light channels" are quite self explaining.
But still one QUESTION: What happens if I don't enter anything into this fields and transmit UDP to the box? Nothing, I guess.

All correct.


- "of mixer": the UDP-in will control the channels in the mixer, which is located below all layers. So I have to delete all layers or turn off the desired channels in all layers for actually made UDP change the desired DMX channel.

Well, you can also take advantage of it. e.g. overriding certain channels with cues from the box itself, or using e.g. ch 1-200 for built-in cues and ch 201-500 UDP driven.



- "of layer": if this is selected, the UDP-in is routed to the specified layer. You need to turn on those channels in that layer for enabling the control via UDP.

This works exactly the same as with DMX-input. Example: make a cue with e.g. ch 1,3,5-15 loaded into layer A, now set UDP-in to layer A.


Whatever UDP is receiving, ONLY channels 1,3,5-15 will be set via UDP.


INSIDE MAX (OS X):
about the "lcudp-pack" object:
- input 1: it likes bangs, ints and lists. a list can look like "0 0 0 255" for setting the first three DMX channels to 0 and channel 4 to 255. such a list can contain as many entries as the box is able to handle.

Yes, but it's up to 3072 channels, a box can select a block of channels to be used as universe.



- input 2: here you define an offset for the first channel. "255" to input 1 and an offset of "10" would set channel 10 to 255.
- input 3: set it to 1-63 if you wanna write to a corresponding layer (1=A,2=B,...). set it to 254, if you wanna write direct to the lanbox mixer, which has lower priority than the layers.

The protocol allows to choose destination layers, but AFAIK the LanBox only allows mixer.



- input 4: here you can define the message type as described in the Lanbox Reference manual on page 83.
"1" results in a buffer write. "2" will result in a buffer broadcast.

I believe it's message type, I'll ask the designer of the protocol :-)


- output: obviously this needs to be connected to an otudp input.


So I guess if I send a buffer broadcast out of MAX, the Lanbox will receive it and will pass it to a layer or the mixer as specified in the global settings UDP tab. In this configuration input 3 of the MAX object lcudp-pack will be ignored.
Second possibility: I send the UDP packet as buffer write (feed a 1 into input 4 of lcudp-pack). in this case input 3 won't be ignored. but I guess the UDP settings in the Lanbox. Right? Wrong?
Yes Fokko, you told me that it's not possible to write to a layer, but why is this input 3 there?

I have to ask the creator of the external, we come back with answers later.

Fokko van Duin,                     Creators of the LanBox-LC
CDS advanced technology bv,         DMX lighting controller.
http://www.cds.nl/                  http://www.lanbox.com/

Member of MIDI Manufacturers Association, MMA

By date: Prev | Next | Index By thread: Prev | Next | Index