Sections
You are here: Home Forum Development Discussion Python -- How do I get this thing to work ?

Python -- How do I get this thing to work ?

Up to Development Discussion

Python -- How do I get this thing to work ?

Posted by eapolo at August 21. 2008

I have tried to download that simpleosc0.2.5.  I tried to modify the appTemplate.py to send "/appled/0/state 1" to port 10000 but nothing happens. The led does not come on.  I can turn on the led via mchelper though.

Anyone have working sample using Python's OSC.py ?

Re: Python -- How do I get this thing to work ?

Posted by Liam Staskawicz at August 22. 2008
Try pasting some example code somewhere? OSC messages, as they are transmitted, are more complex than just simple strings, so I'd expect that you'd be assembling an OSC message object (or something like that) to send.

Re: Python -- How do I get this thing to work ?

Posted by eapolo at August 22. 2008

The sample code appTemplate.py were modified in an attempt to talk to the MC board using its ip address 192.168.100.30.   It didnt matter yet, that I was not able to receive a message from the OSC server running on the MC, but that would be nice later on. First thing first, I want to send command to the MC via a python, just to set the led on. 

 The sample code I used is here:   http://pastie.org/258091  It seems the paste site cut it up to sections, but thats the whole code.

Re: Python -- How do I get this thing to work ?

Posted by eapolo at August 31. 2008

I pasted that sample code, any comments on how to make this work?  Anyone at all can use Python to talk to the MCboard?  Btw, is it only the OSC that a python can communicate with or are there are server I can run on the board so I can use python from my desktop to talk to it?

Powered by Ploneboard
Document Actions