wiki:DevSimStartup

Version 4 (modified by jdalbey, 9 years ago) (diff)

update with GUI.

HOWTO TMCSim Startup within NetBeans

Connect your development machine to the ATL local network.

Start the FEPSim (on your local machine). [See FEPSimulatorInstallation]

Open the TMCSim project in NetBeans. "Run Project" with the default configuration to start the CAD Server. Wait for CAD Server to start up and the GUI be displayed. The title bar should say "CAD Server" and revision number.

Click anywhere in the Projects pane to enable the "Run" button. Choose "Sim Mgr" from the configuration drop down.

"Run Project" to start the Simulation Manager. Verify the Simulation Manager GUI displays correct initial values: Status is "No Script" and time is 0:00:00.

Click "Load Script". Select one of the available XML script files.

Simulator status should say "Ready" (in red font). The Incident Management panel should show the incident numbers from the script.

[Optional: Start a CAD Client.]

Locate ATMSBatchDriver.java under tmcsim.client. Right-click and choose "Run File". The output window should display "Building network ..." and then after a few moments which highways were loaded. It should then display the number of events read from the batch events file and a GUI display of the current clock and the list of events in the queue.

Click the "Start" button in the Simulator GUI. Simulator status should say "Running" (in green font).

The clock in the Simulation Manager and CADServer will start incrementing.

When the next event time occurs the output window will show a message about which dots were effected. After 30 seconds the dots should change color on the ATMS client display in the training room.

Observe the simulator running incidents.

To terminate, close the applications from within NetBeans or with window close button.