File Writer end of file
Quote from isaac_h_e on 27/04/2024, 20:03I would like to setup the File Writer block so that it automatically closes a file as soon as the filtered stream from the Spectrum Condition block stops, how I can do that?
Thanks and best regards
I would like to setup the File Writer block so that it automatically closes a file as soon as the filtered stream from the Spectrum Condition block stops, how I can do that?
Thanks and best regards
Quote from mm_dev on 29/04/2024, 10:02The next RTSA release contains a timeout setting for the File Writer block that can be used for that.
By itself, the File Writer will close the file when receiving a sample with the End Stream flag set. That is however usually only set by the original source (e.g. Spectran V6 device or File Reader). The Condition blocks will not set it as they can't know in advance if the next sample will match the condition (and you really don't want to flip-flop this every few milliseconds either).
The next RTSA release contains a timeout setting for the File Writer block that can be used for that.
By itself, the File Writer will close the file when receiving a sample with the End Stream flag set. That is however usually only set by the original source (e.g. Spectran V6 device or File Reader). The Condition blocks will not set it as they can't know in advance if the next sample will match the condition (and you really don't want to flip-flop this every few milliseconds either).