Forum
Please or Register to create posts and topics.

File Writer end of file

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

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).

Thanks! will be waiting the next RTSA release.