Setting a Participant Connection Timeout Interval

System Coupling offers command-line options that allow you to set a timeout interval for participant connection, specifying how long System Coupling waits for participants to connect after connections were requested (that is, via a Solve operation or the Initialize() command).

To do so, start System Coupling from the command line (either the CLI or the GUI) and use the -C or --connectiontimeout argument to specify the maximum time interval System Coupling should wait for participants to connect before aborting the coupling run.

The timeout interval is defined in seconds and must be specified as a positive real value greater than zero seconds. The default value is 3600 [s] — that is, a timeout interval of 1 hour is defined. The examples below illustrate how to set different timeout intervals.

Example 19: Setting a 30-second timeout interval when starting the CLI on Windows


> "%AWP_ROOT242%\SystemCoupling\bin\systemcoupling" -C 30


Example 20: Setting a 10-second timeout interval when starting the GUI on Windows


> "%AWP_ROOT242%\SystemCoupling\bin\systemcoupling" -G -C 10


Example 21: Setting a 120-second timeout interval when starting the CLI on Linux


$ "$AWP_ROOT242/SystemCoupling/bin/systemcoupling" --connectiontimeout 120


If any of the participants have not connected when the specified timeout interval is exceeded, then System Coupling generates an error message and aborts the coupling run.

For more detailed information, see General Command-Line Options in the System Coupling Settings and Commands Reference documentation.