Facility Control

 View Only
  • 1.  OSC commands

    Posted 06-13-2017 23:31
    This may have been asked before, but I can't find it.
    I need to send an OSC command to a server.

    An example is
    127.0.0.1 port 6250
    the string is
    /control/bananas/play 1
    or
    /control/bananas/stop 1

    I am not sure where to start, I have worked with sendind http command, but OSC is new to me.

    Thanks,
    Steve


  • 2.  RE: OSC commands

    Posted 06-14-2017 15:45

    Hi Steve.
    I'm not sure if OSC is looking for a TCP message or a UDP message but, if you are simply trying to fire-off a string to the host/port you provided, the command you are looking for is:

    rosstalk.sendMessage("127.0.0.1", 6250, "/control/bananas/play 1", null);

    You can also find these commands (for both TCP and UDP) in DashBoard's Visual Logic (just type "send" into the "Control and APIs" search field and you'll see them listed):


    #DashBoard


  • 3.  RE: OSC commands

    Posted 06-14-2017 19:27
    It is a UDP message.

    Thanks for helping,

    Steve

    To be honest I have not played with the visual logic stuff yet, This gives me a reason to try!
    #DashBoard