file_write_mode Property
Controls how the output file is opened.
Syntax
def get_file_write_mode() -> int: ... def set_file_write_mode(value: int) -> None: ...
file_write_mode = property(get_file_write_mode, set_file_write_mode)
Default Value
0
Remarks
This property controls how the component will open the output file specified in output_file. Possible values are:
fwmCreate (0) | Always create a new file. If the file already exists, an error will be raised. |
fwmOverwrite (1) | If the output file already exists, it will be overwritten. |
fwmAppend (2) | If the output file already exists, data will be appended to it. |