Owning Class: rt
Requires: Real-Time Module and MathScript RT Module
rt_debugoutput(data)
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.
| 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. |
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.
Data = rand;
rt_debugoutput(Data);
rt_debugoutput('Hello World.');
disp
display
rt_loadsend
rt_loguserevent
rt_starttrace
rt_stopsave
rt_stopsend