FileSerializer¶
Serialize data streams to file
port name |
data type |
slots |
description |
---|---|---|---|
data |
IData |
1-256 |
None |
port name |
data type |
default |
description |
---|---|---|---|
path |
string |
run:// |
server-side path |
encoding |
string |
binary |
Only two acceptable keyword (‘binary’ or ‘yaml’) |
format |
string |
full |
Only tree acceptable keyword (‘full’, ‘nodata’, ‘compact’) See serializer.hpp for more informations on this mode |
overwrite |
bool |
False |
overwrite existing file |
throttle/enabled |
bool |
False |
Progressively drop incoming data packets if saving cannot keep up. |
throttle/threshold |
double |
0.3 |
Buffer fill level (fraction between 0 and 1) at which throttling kicks in. |
throttle/smooth |
double |
0.5 |
Smoothly changes throttle level as threshold is reached (value between 0 and 1). |
preamble |
bool |
True |
Add YAML preamble to file. |