I am trying to store a large set of SoC data using the TO-FILE. However, the RT-Box always disconnects after some time. I have tried adjusting these parameters but to no avail:

I am trying to store a large set of SoC data using the TO-FILE. However, the RT-Box always disconnects after some time. I have tried adjusting these parameters but to no avail:

Can you add some clarity?
An example model is always helpful so we can recreate and investigate from our side.
Also note that the first window you displayed (Number of samples and Decimation) only pertains to the External Mode and has no bearing on the behavior of the To File component.