great, sorry i somehow missed your reply on the forum - thanks very much for sharing your patch!
i had a go and some lights in the theatre are definitely coming up, which is exciting. however i’m still unsure about how to address specific channels.
in your dec2hex abstraction i noticed that the 4th last number in the list changes which light comes up, though the actual number is not the channel number (as i know that i have lights on channels 1 - 5 but using those numbers doesn’t bring any lights up). sorry if i am missing something obvious with the number conversions, this is all quite new.
many thanks,
s
Date: Fri, 4 Dec 2015 15:43:56 +0200
Subject: Re: [PD] Lanbox
From: adrcki@gmail.com
CC: schoolshoes@outlook.com; pd-list@lists.iem.atMaybe I'm that someone from the old forum post. I use the lanbox with [comport], not via UDP. I copied the messages output by the [lanbox] external in Max, which used hexadecimal number (if I remember correctly) where one of them was the channel and another the value (among other values).The patch I sent you on the forum did exactly that.On Fri, Dec 4, 2015 at 3:25 PM, Martin Peach <chakekatzil@gmail.com> wrote:On Fri, Dec 4, 2015 at 2:22 AM, school shoes <schoolshoes@outlook.com> wrote:Try sending it to a [udpreceive] in a Pd patch and see what comes out?Hello,
I was wondering if anyone on the list has successfully used pd with a Lanbox dmx controller and is able to tell me how i should format the messages to communicate via mrpeach/udpsend?
It works with Max Msp using the [lcudp-pack] object (from the lanbox website) which packs data so that it can be sent as a LanBox UDP packet by the udpsend object.
as suggested by someone in an old post on the pd forum, i have tried in Max to print the msgs that come out of the [lcudp-pack] object - i get “FullPacket 260 203381508” . however this doesn’t seem to change no matter what the input (even though the dmx controlled lights are fading in and out) so not quite sure how to decipher that.Martin
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list