Owning Class: rt
Requires: Real-Time Module and Real-Time Execution Trace Toolkit and MathScript RT Module
rt_stopsend(netaddress)
Stops logging data from the application running on the RT target and sends the trace session data to the Real-Time Execution Trace Tool running on the host computer. You then can use the the Real-Time Execution Trace Tool to view the trace session and save the trace session data to disk on the host computer. Although this function stops logging trace data, the RT target continues tracing execution until you restart the target.
| Name | Description |
|---|---|
| netaddress | Specifies the DNS name or IP address of the host computer running the Real-Time Execution Trace Tool. netaddress is a string. |
(Real-Time Execution Trace Toolkit) This function is equivalent to the TraceTool Stop Trace and Send VI. You can use this function in conjunction with the Execution Trace Tool VIs. For example, you can use the TraceTool Start Trace VI to start a trace session before entering the MathScript Node, then use the rt_stopsend function to end the trace session. However, you must have the Real-Time Execution Trace Toolkit installed and activated to use this function.
When you call this function in a MathScript Node with debugging disabled, LabVIEW operates with slightly reduced run-time performance for the node. This behavior causes tracing results to differ from the timing and execution characteristics of the VI when you are not tracing it with this function. To avoid this behavior, you can use the Execution Trace Tool VIs outside of the MathScript Node.
rt_starttrace(true, 400000);
A = rand;
B = rand;
C = A*B;
rt_loguserevent(1);
A = B*C;
B = A*C;
C = A*B;
rt_loguserevent(2);
rt_stopsend('MyHostPC');