Ping the scripting server#

Verify RSSeismic is running and the scripting port is reachable.

 1"""Manual examples. Install the package first (see buildAndReinstall.bat)."""
 2
 3from rsseismic import RSSeismicApplication
 4
 5PORT = 60058  # or set RSSEISMIC_SCRIPTING_PORT
 6
 7app = RSSeismicApplication(port=PORT)
 8app.ping()
 9print("RSSeismic scripting server is reachable.")
10app.close()