Writefileouteveryframe.toe (4.6 KB)
I have 2 problems:
-
if I write every frame a file with an chop execute dat the data is in between “ “ and NOT compatible with .csv format
-
if i write a file with fileout dat it’s without “ “ and thus compatible with .csv format, but how can I trigger ‘write’ on fileout dat every frame?
Example.zip (2.3 MB)
you can pulse the write parameter of the File Out DAT on every frame
Easiest is to place an Execute DAT, toggle its Frame Start parameter to on, and use this:
def onFrameStart(frame):
op(“fileout1”).par.write.pulse()
return
1 Like
I do have one question: when to use op(“fileout1”) and when op(‘fileout1’)?
Found the answer: Touchdesigner doesn’t care, both can be used.
We created a way to store large artnet datasets (such as used for volumetric) as csv’s that can be played back on cheap Raspberry PI hardware.
1 Like