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 11:24:11 +0100


At 01:12 +0100 21-01-2005, Samuel Gaehwiler wrote:
Hi,

i can't control the lanbox from MAX.

First I updated the firmware.
Then I tried to configure the box (LCX), but neither the tutorial (chapter 8) nor the LCeditPlus_reference.pdf (page 13) explained the basic idea (only how to connect two lanboxes for universe-use. I couldn't find any information about the main concept, how and where those values from UDP are integrated. i.e. what's exaclty "of mixer" and how does "of layer" work?).

Please read the tutorial and the LanBox manual, as they fully explain what laers and active channels are. For multiple universes setup follow the instructions of chapter 8 of the tutorial.




So I started MAX and tried "LC+ UDP Desk (OSX)" on my Powerbook. I couldn't control anything at all. The log from MAX after I closed that patch:
* enter otudp_free
* about to close Open Transport endpoint...
* ... closed Open Transport endpoint


I guess that's ok. No connection errors.
(of course the IP was set to the IP of the lanbox)

This has nothing to do with multiple universes, but specific bulk data transfer to/from a LanBox with UDP. The examples work when all layers are cleared, as you transport the data into the mixer (lowest priority).


Set UDP in to:
anyone:4777
1-512 to 1-512
mixer


Then I tried "LC+ UDP tx Example", but same as above. No control, same MAX log.

After opening port 4777 on my powerbook and setting up the lanbox to broadcast via UDP, I tried "LC+ UDP rx Example". That one worked! The Mixer Display showed the actual status of the lanbox.

I also tried without success:
- a direct RJ45-connection with the lanbox (before I used a wireless LAN connection)
- "of mixer" instead of "of layer" in the "UDP input settings"

If you want to use a layer, you must activate the used channels first. If you use the mixer as destination, be aware it has the lowest priority, so clear all layers if you want to see the data in the mixer.


The order of data handling per DMX packet is:
1. UDP write into mixer.
2. mixer + lowest layer to highest layer
3. mixer to post processing
4. post processing into DMX output buffer
5. send DMX packet.


- to change "From sender:" to the IP of my powerbook, BUT the field only allowed to enter 192.168.1.10 instead of 192.168.1.104 (last digit couldn't be entered!!!). The LCedit+ 3.2.1 I used was installed on a Win98-machine.

Use: anyone:4777 (default), as we use UDP broadcast.


- I also modified the "LC+ UDP Desk (OSX)" MAX patch so that the "lcudp-pack 254" received a "1" in its 3rd input (guess that specifies layer A to use in the lanbox. On the other hand, I already specified the layer in the LCedit for the box, so I guess it's useless, even thought it's present in the "LC+ UDP tx Example"...)

lcudp-pack packs MAX lists and/or integers into a binary LanBox UDP packet which can be transmitted by otudp. The 254 is the destination buffer (mixer), but you can NOT write into a layer. For the UDP LanBox protocol see the LC+ reference manual.


To make it possible to set single or a block of channels, lcudp-pack allows you to set a start channel. All next integers and lists are written into the object at incremental locations (channels) starting from start index, until it receives a bang.

BTW If you position the mouse cursor above the in/outlets, you get help info.


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