Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > System generation for simulation - C, C++ and Java code > Troubleshooting > The listener dll timed out (system simulation)
  
The listener dll timed out (system simulation)
By default, after loading the listener.dll through the State Simulation toolbar, Modeler waits for 30 seconds before timing out. After timing out, Modeler unloads the listener.dll.
You can change the amount of time that Modeler waits after loading the listener.dll through the State Simulation toolbar.
To change the listener.dll time out value:
1. Open the Registry:
To open the registry under Windows 10:
In the Windows Search the Web and Windows box, type Regedit, and then press the Enter key.
To open the registry under Windows 8.1 or Windows Server 2012:
On the Windows Apps screen, type Regedit, and then press the Enter key.
To open the registry under Windows 7:
Click the Windows Start menu, type Regedit, and then press the Enter key.
To open the registry under Windows Server 2008 and earlier supported versions of Windows:
On the Windows Start menu, click Run, type Regedit, and then press the Enter key.
2. In the left pane, locate and select the following registry key.
HKEY_CURRENT_USER\Software\ARTISAN Software Tools\Synchronizer\Simulation
3. In the right pane, determine whether the key has a DWORD entry named Timeout.
4. If there is not a Timeout entry, create the Timeout entry and set its value as required. The value is specified in milliseconds, for example, set the value to 20000 for a 20 second timeout:
a. Right-click the Simulation folder, point to New, and then click DWORD Value
b. In the right-pane, right-click the new entry, click Rename, type Timeout, and the press the Enter key.
c. Right-click the Timeout entry, and then click Modify.
d. In the Value Data box, type the required timeout value in milliseconds.
e. Select the Decimal option, and then click OK.
If there is a Timeout entry, set its timeout value as required:
a. Right-click the Timeout entry, and then click Modify.
b. In the Value Data box, type the required timeout value in milliseconds, and then click OK.
5. Save and close the registry.