Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

rt_stopsave (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: rt

Requires: Real-Time Module and Real-Time Execution Trace Toolkit and MathScript RT Module

Syntax

rt_stopsave(filepath)

Description

Stops logging data from the application running on the RT target and saves the trace session to the RT target at the path you specify. Although this function stops logging trace data, the RT target continues tracing execution until you restart the target.

Details

Examples

Inputs

Name Description
filepath Specifies the location on the RT target where the trace session file is saved. filepath is a string. You must specify the complete path. This function does not support relative paths.

Details

(Real-Time Execution Trace Toolkit) This function is equivalent to the TraceTool Stop Trace and Save 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_stopsave 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.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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_stopsave('c:\tracelogs\mytrace.log');

Related Topics

rt_loadsend
rt_loguserevent
rt_starttrace
rt_stopsend


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit