Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

execution trace won't transfer trace to host

I am trying to get the execution trace toolkit to work on my system for the first time.  I am using a PXI-8196 realtime controller.  I have put a TraqceTool Start on my block diagram for the real time system as well as a TraceTool Stop Trace and Send.  I have the Execution Trace Tool running on the host computer.  When the real time code gets to the TraceTool Stop Trace and Send vi it gets stuck and eventually gives the error "Error 56 occured at TCP Open Connection in TraceTool Stop Trace And Send.vi->test_main_delete.vi.  Possible reason: The network operation exceeded the user-specified or system time limit.".  I am using the company network in which the IP address is set up to obtain an IP address automatically but, I have gone to a command window on the host machine, typed in ipconfig and taken the IP address that specifies and have attached that IP Address to theTrace Host Network Address connection on the TraceTool Stop Trace and Send vi.  I'm guessing it has to do with the IP address I have inserted but, I can't figure out any other way to talk over the network to the host machine.  Any ideas??
0 Kudos
Message 1 of 2
(3,269 Views)

Hello,

The IP address returned by ipconfig should be perfectly valid for the Stop Trace and Send VI, so long as you don't restart your host PC or obtain a new IP for the host.  One thing to verify as well is whether you have multiple internet adapters (for example, an ethernet port and a wireless card), since each of these will have separate IP addresses.  Additionally, this VI will attempt to communicate with your PC over a particular port, if you have a firewall enabled, this port is likely being blocked.  Try running it with your firewall disabled.

If all else fails, you always have the option to save the trace log file locally on the RT target and retrieve it later via a standard FTP connection.  To do this, use the Stop Trace and Save VI instead. Give these a try and let me know how it goes.

Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 2 of 2
(3,260 Views)