Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

rt_debugoutput (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

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