Difference between revisions of "UDP In DAT"

From TouchDesigner Documentation
Jump to: navigation, search
(TD Editor)
(TD Editor)
Line 111: Line 111:
 
|OPfamily=DAT
 
|OPfamily=DAT
 
|Parname=callbacks
 
|Parname=callbacks
|Parsummary=
+
|Parsummary=The Callbacks DAT will execute once for each message coming in. See [[udpinDAT_Class]] for usage.
 
|OPtype=udpin
 
|OPtype=udpin
 
|Parorder=0
 
|Parorder=0
Line 125: Line 125:
 
|Parname=executeloc
 
|Parname=executeloc
 
|Itemname=current
 
|Itemname=current
|Itemsummary=
+
|Itemsummary=The script is executed from the current node location.
 
}}
 
}}
 
{{Menuitem
 
{{Menuitem
Line 132: Line 132:
 
|Parname=executeloc
 
|Parname=executeloc
 
|Itemname=callbacks
 
|Itemname=callbacks
|Itemsummary=
+
|Itemsummary=The script is executed from the location of the DAT specified in the <span class="tipTextDAT">Callbacks DAT</span> parameter.
 
}}
 
}}
 
{{Menuitem
 
{{Menuitem
Line 139: Line 139:
 
|Parname=executeloc
 
|Parname=executeloc
 
|Itemname=op
 
|Itemname=op
|Itemsummary=
+
|Itemsummary=The script is executed from the operator specified in the <span class="tipTextDAT">From Operator</span> parameter below.
 
}}
 
}}
 
 
|Parsummary=
+
|Parsummary=Determines the location the script is run from.
 
|OPtype=udpin
 
|OPtype=udpin
 
|Parorder=1
 
|Parorder=1

Revision as of 11:21, 5 September 2017

  • Invalid title: ""

Summary
[edit]

The UDP In DAT is used for receiving information over a UDP connection between two remotely located computers. It captures all the messages without any queuing or buffering, and allows you to send it any messages you want. Once this DAT has received a message it can reply to the sender using the 'send' command. Using the send command before it has received a message will not work because it doesn't know where to send data yet. When in multicast mode it doesn't send out a multicast message, it sends a reply directly to the originator for the last multicast message it got.

See also UDP Out DAT, Touch In DAT and TCP/IP DAT.

PythonIcon.png[[{{{opClass}}}]]


Parameters - Page

Template:ParMenu Template:ParString Template:ParInteger Template:ParToggle Template:ParMenu Template:ParToggle


Parameters - Page

Template:ParDatRef Template:ParMenu Template:ParNodeRef Template:ParToggle Template:ParInteger Template:ParButton Template:ParToggle


Parameters - Common Page

Language language - - Select how the DAT decides which script language to operate on.

  • Input input - The DAT uses the inputs script language.
  • Node node - The DAT uses it's own script language.

Edit/View Extension extension - - Select the file extension this DAT should expose to external editors.

  • dat dat - various common file extensions.
  • From Language language - pick extension from DATs script language.
  • Custom Extension custom - Specify a custom extension.

Custom Extension customext - Specifiy the custom extension.  

Word Wrap wordwrap - - Enable Word Wrap for Node Display.

  • Input input - The DAT uses the inputs setting.
  • On on - Turn on Word Wrap.
  • Off off - Turn off Word Wrap.

TouchDesigner Build:

DATs
Art-Net • CHOP Execute • CHOP to • Clip • Convert • CPlusPlus • DAT •  Execute • DAT xport • Error • EtherDream • Evaluate • Examine • Execute • FIFO • File In • File Out • Folder • In • Indices • Info • Insert • Keyboard In • Lookup • Merge • MIDI Event • MIDI In • Monitors • MQTT Client • Multi Touch In • NDI • Null • OP Execute • OP Find • OSC In • OSC Out • Out • Panel Execute • Parameter • Parameter Execute • Perform • Render Pick • Reorder • Script • Select • Serial • SocketIO • SOP to • Sort • Substitute • Switch • Table • TCP/IP • Text • Touch In • Touch Out • Transpose • TUIO In • UDP In • UDP Out • UDT In • UDT Out • Web Client • Web • Web Server • WebSocket • XML

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.

The generic thing that holds an Operator, and includes Flags (display, bypass, lock, render, immune) and its position/size in the network. Whether you "lay down an Operator" or "lay down an Node", you're doing the same thing.