TN ITME113 Run Database Spy or LogWin from Command Prompt
Description
This article from InSource shows how to launch InTouch Machine Edition's Database Spy or LogWin tools from the Command Prompt.
- Author: Dillon Perera
- Published: 06/22/2017
- Applies to: InTouch Machine Edition 2014 R2
Details
When troubleshooting a problem it can be useful to quickly open Database Spy or LogWin without having to first open the InTouch Machine Edition Development Environment. These tools can be launched from the Windows Command Prompt, allowing you to quickly launch them, or create shortcuts to them.
Database Spy
Default Location: C:\Program Files (x86)\Wonderware\InTouch Machine Edition v8.0\Bin\DatabaseSpyExt.exe
Syntax: DatabaseSpyExt /DSIP:[IPADDRESSOFCLIENT] /DSPORT:[PORTNUMBER]
Example: DatabaseSpyExt /DSIP:192.168.100.50 /DSPORT:1234
LogWin
Default Location: C:\Program Files (x86)\Wonderware\InTouch Machine Edition v8.0\Bin\LogWinExt.exe
Syntax: LogWin /DSIP:[IPADDRESSOFCLIENT] /DSPORT:[PORTNUMBER]
Example: LogWin /DSIP:192.168.100.50 /DSPORT:1234
Troubleshooting:
If you attempt a connection, and the connection fails due to an incorrect IP Address, an incorrect or blocked Port number, or generall InTouch Machine Edition's services are not running at the address provided, the following will be shown:
To configure the port used by the services, open InTouch Machine Edition's Development Environment and look at the Project Settings. Under Communication settings you can modify the TCP Port (default = 1234).