communication w/ director over UDP
Up to Flash
Well, this isn't flash, but Director's an adobe product, so close enough for this forum, I figure.
I'm getting limited success communicating over UDP from Director. My guess is that the UDP Xtra I'm using is mangling the strings I'm sending.
here's the entire program, using tcpudpxtra from nvisionStudio
object1 = new(xtra "TCPUDPXtra")
object1.sendUDPMessage("192.168.0.200",10000, "/system")
with mchelper running as well(just to see output), output is perfect there, exactly as if I typed /system in mchelper.
however, /system/name
returns /system/error No type tag
similarly, /appled and /appled/0 works fine (output same as typing commands in mchelper )
but /appled/0/state returns /appled/error No Type Tag
and
"/appled/0/state 1" returns /appled/error Unknown Property
any idea what's going on here??? my guess is it's just the TCPUdpXtra that isn't working quite right, and I should try a different UDP Xtra or activeX control.
thanks
calvin.
I'm getting limited success communicating over UDP from Director. My guess is that the UDP Xtra I'm using is mangling the strings I'm sending.
here's the entire program, using tcpudpxtra from nvisionStudio
object1 = new(xtra "TCPUDPXtra")
object1.sendUDPMessage("192.168.0.200",10000, "/system")
with mchelper running as well(just to see output), output is perfect there, exactly as if I typed /system in mchelper.
however, /system/name
returns /system/error No type tag
similarly, /appled and /appled/0 works fine (output same as typing commands in mchelper )
but /appled/0/state returns /appled/error No Type Tag
and
"/appled/0/state 1" returns /appled/error Unknown Property
any idea what's going on here??? my guess is it's just the TCPUdpXtra that isn't working quite right, and I should try a different UDP Xtra or activeX control.
thanks
calvin.
Remember that OSC is a specific format - not just text strings. You'll need to do OSC encoding/decoding in addition to UDP communication. The OSC spec is at http://opensoundcontrol.org/spec-1_0
Powered by
Ploneboard

