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

rt_debugoutput (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 MathScript RT Module

Syntax

rt_debugoutput(data)

Description

Sends a string to the standard output device of the RT target. By default, this function sends the string to the video port, if available. If you have a device capable only of serial redirection, this function sends the string to the serial port.

Details

Examples

Inputs

Name Description
data Specifies the data to be displayed as a string on the standard output device of the RT target. data can be any built-in MathScript data type that can be displayed as a string.

Details

When debugging MathScript code running on an RT target, use this function instead of the disp function or the display function. (Real-Time Module) This function is equivalent to the RT Debug String VI. However, while the RT Debug String VI only accepts string input, this function accepts any built-in MathScript data type that can be displayed as a string. This function converts the input to a string before sending the data to the RT output device.

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

Data = rand;
rt_debugoutput(Data);

rt_debugoutput('Hello World.');

Related Topics

disp
display
rt_loadsend
rt_loguserevent
rt_starttrace
rt_stopsave
rt_stopsend


 

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