From TouchDesigner 099 Wiki


The OSC Out DAT is used for sending information over a OSC connection between remotely located computers. Use the .sendOSC() python method to output the OSC messages.

See also OSC, OSC In DAT, OSC In CHOP, OSC Out CHOP, iOS and OSC, Network Protocols, Sync.

NOTE for Windows OS - If experiencing connection issues make sure Windows Firewall is disabled.

PythonIcon.png oscoutDAT_Class

Parameters - Connect Page

Protocol protocol - Selects the network protocol to use. Refer to the Network Protocols article for more information.

Network Address address - The network address of the target computer when using UDP. For multi-cast this is the multi-cast address to send to. This address is a standard WWW address, such as 'foo' or 'foo.bar.com'. You can put an IP address (e.g. If you put "localhost", it means the other end of the pipe is on the same computer.

Port port - The network port to send to.

Shared Connection shared - Use the same connection as other networking DATs using the same network protocol.

Active active - While on, the DAT receives/sends information from/to the network port. While Off, no updating occurs. Data sent to the port is lost.

OSC Address Scope addscope - To reduce which channels are generated, you can use channel name patterns to include or exclude channels. For example, ^*accel* will exclude accelerometer channels coming in from an iOS or iPhone app like mrmr. See Pattern Matching for the syntax of the possible channel name patterns.

Include Type Tag typetag - Includes the argument list type tag in each message. It includes the parameter type keywords (in case the parsing application needs to identify parmameter types).

Split Bundle into Messages splitbundle -

Split Message into Columns splitmessage -

Bundle Timestamp Column bundletimestamp -

Parameters - Received Messages Page

Callbacks DAT callbacks - The Callbacks DAT will execute once for each message received.

Execute from executeloc - Determines the location the script is run from.

  • Current Node current - The script is executed from the current node location.
  • Callbacks DAT callbacks - The script is executed from the location of the DAT specified in the Callbacks DAT parameter.
  • Specified Operator op - The script is executed from the operator specified in the From Operator parameter below.

From Operator fromop - The operator whose state change will trigger the DAT to execute its script when Execute from is set to Specified Operator. This operator is also the path that the script will be executed from if the Execute From parameter is set to Specified Operator.

Clamp Output clamp - The DAT is limited to 100 messages by default but with Clamp Output, this can be set to anything including unlimited.

Maximum Lines maxlines - Limits the number of messages, older messages are removed from the list first.

Clear Output clear - Deletes all lines except the heading. To clear with a python script op("opname").par.clear.pulse()

Bytes Column bytes - Outputs the raw bytes of the message in a separate column.