File In DAT

From Derivative
Jump to navigation Jump to search

Summary
[edit]

The File In DAT reads in .txt text files and .dat table files. It will attempt to read any other file as raw text. The file can be located on disk or on the web. Use http:// when specifying a URL.

PythonIcon.pngfileinDAT_Class


Parameters - File In Page

File file - The filesystem path and name of the file to load. Accepts .txt files for regular text and .dat files for text in table format.

Convert Text to Table converttable - Converts the contents of the DAT from regular text to table-formatted text (tab-delimited text, each <tab> is a new column in the table).

Refresh refresh - Reload the file when this parameter is set to On.

Refresh Pulse refreshpulse - Instantly reload the file from disk.


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 • JSON • 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