The timeout setting is intended to ensure that the code generation process does not get stuck. However, for larger models, code generation may legitimately take longer than the default 240 seconds. In such cases, you can increase the timeout value accordingly.
You can adjust this setting by editing the info.xml file located in the RT Box TSP installation directory. The file can be opened with any text editor. In RT Box TSP version 4.0.7, the relevant timeout settings are located at:
- Line 172 for RT Box 1 and RT Box CE
- Line 265 for RT Box 2
- Line 354 for RT Box 3
- Line 443 for RT Box 4
However, a long compilation time can also be an indication that the model itself is very large or contains a large number of possible switching combinations. In that case, simply increasing the timeout may not be the best solution, as the generated code may also become too large or too computationally demanding for real-time execution.
This topic is discussed in more detail here:
If increasing the timeout does not resolve the issue, or if the compilation still takes a very long time, please feel free to share the model with us so that we can take a closer look.