To allow DETT to remotely debug your executable, you need to:
To enable VI server access follow these steps:
- Open your LabVIEW project.
- In LabVIEW's Project Explorer, perform a right-click on My Computer and open Properties.
- Go to the VI Server tab, enable TCP/IP and define a Port number (in this example 3364):
- Scroll down and add the IP address of the PC you want to execute DETT on to the Machine Access list. This can be the same PC as your application will be execute on, or a remote PC.
- Build your application.
- Completely close the LabVIEW Development Environment. If you leave LabVIEW open, it keeps the TCP/IP port you specified for your project in step 3 reserved, not allowing your compiled application to use it.
- Launch your application.
- Open Desktop Execution Trace Toolkit, and connect to your compiled application by:
i. Enter the IP address of the machine that the executable is running on in the Machine
ii. Enter the port number you specified earlier in the Port
iii. Click the Refresh icon,
iv. After selecting the executable's name from the Application Instance
In the steps above, changing the VI server settings was achieved by right-clicking My Computer
. A similar setting for applications executed inside the LabVIEW Development Environment can be changed in menu Tools » Options » VI Server
. DETT needs to use the port set in the above described steps in order to connect to the executable.