Difference between revisions of "FIFO DAT"
(TD Editor) |
(TD Editor) |
||
Line 60: | Line 60: | ||
|Parorder=2 | |Parorder=2 | ||
|OPtype=fifo | |OPtype=fifo | ||
− | |Parsummary= | + | |Parsummary=The operator whose state change will trigger the DAT to execute its script when <span class="tipTextDAT">Execute</span> is set to <span class="tipTextDAT">Specified Operator</span>. This operator is also the path that the script will be executed from if the <span class="tipTextDAT">Execute From</span> parameter is set to <span class="tipTextDAT">Specified Operator</span>. |
}} | }} | ||
{{ParToggle | {{ParToggle | ||
Line 68: | Line 68: | ||
|Parorder=3 | |Parorder=3 | ||
|OPtype=fifo | |OPtype=fifo | ||
− | |Parsummary= | + | |Parsummary=The DAT is limited to 100 messages by default but with Clamp Output, this can be set to anything including unlimited. |
}} | }} | ||
{{ParInteger | {{ParInteger | ||
Line 76: | Line 76: | ||
|Parorder=4 | |Parorder=4 | ||
|OPtype=fifo | |OPtype=fifo | ||
− | |Parsummary= | + | |Parsummary=Limits the number of messages, older messages are removed from the list first. |
}} | }} | ||
{{ParButton | {{ParButton | ||
Line 84: | Line 84: | ||
|Parorder=5 | |Parorder=5 | ||
|OPtype=fifo | |OPtype=fifo | ||
− | |Parsummary= | + | |Parsummary=Deletes all lines except the heading. To clear with a python script <code>op(''"opname"'').par.clear.pulse()</code> |
}} | }} | ||
{{ParToggle | {{ParToggle |
Revision as of 11:53, 1 September 2017
- Invalid title: ""
Summary[edit]
The FIFO DAT maintains a user-set maximum number of rows in a table. You add rows using the appendRow()
method found in DAT Class. When its capacity is reached, the first row is removed. After the maximum number of rows is reached, the oldest row is discarded when a new row is added.
Example:
op('fifo1').appendRow(['a','b','c'])
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 |
---|
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • |