Process Output Settings

On the Process Output page in wRTOS Settings, you can choose whether to display real-time application output in one or more wRTOS Console windows and configure how that output is displayed. You can also control and configure output logging.

In this section:

Click to expandAccessing Process Output Settings

To open the Process Output page in wRTOS Settings:

  1. Open wRTOS Settings.
  2. Do one of the following:
  • From the Home page, click Subsystem. On the Subsystem page, click Process Output.

  • From any other wRTOS Settings page, click Contents / Subsystem / Process Output in the sidebar menu.

 


Real-time Process Output

Display output in console windows

This toggle switch determines whether process output is displayed in console windows.

To change this setting:

Do one of the following:

Note: The options to configure how real-time output should be displayed are grayed-out when this setting is set to OFF.

Choose how to display output

When Display output in console windows is ON, you can choose whether real-time process output should be displayed in one or more console windows.

Note: When this option is selected, the single console closes when the Subsystem stops.

Note: This option uses more memory and could limit the number of real-time applications you can run if they all print data to the console.

Note: When this option is selected, Network Link Layer (NL2) and TCP/IP Stack output appears in a single system console that closes when the Subsystem stops.

Automatically close consoles on process exit

When Separate console window for each process is selected, you can choose to close all open consoles on process exit or leave them open.

Note: All real-time processes must be stopped before the Subsystem can be stopped.

Note: Stopping the Subsystem closes all open console windows.

To change this setting:

Do one of the following:

Note: When set to ON, console output generated by a real-time process shortly before it terminates may not be displayed, as its corresponding console has already automatically closed.

Start consoles minimized

When Display output in console windows is ON, you can choose whether to start consoles minimized (offscreen) or onscreen.

To change this setting:

Do one of the following:

Advanced Settings

Click Advanced to view additional console configuration settings.

Console buffer size (lines)

This setting determines the approximate number of lines of text that are visible in the console window. The default is 1000 lines.

To change this setting:

Enter a positive integer value in the Console buffer size (lines) text box.

Console connection ideal port number

The ideal port number is the port number on which wRTOS listens for real-time application console connections. The default port number is 37371.

To change this setting:

Enter a positive integer value in the Console connection ideal port number text box. The range is 1 to 165535.

Note: If the specified port number cannot be obtained, wRTOS will look for an available port and display it.

Real-time Process Logging

Log process output

This toggle switch determines whether real-time application output logging is enabled. This is a global setting that applies to all console windows. When selected, you can set the log file location and specify a maximum log folder size.

To change this setting:

Do one of the following:

Log file location

When Log process output is ON, you can choose a default location for process output log files.

Log file names will appear in one of two formats, based on which display output option is selected (see Choose how to display output above):

ConsoleLog-YYYYMMDD-HHMMSS.txt, where YYYYMMDD-HHMMSS is the time when the log file was created.

<Process Name>-YYYYMMDD-HHMMSS-PID.txt, where YYYYMMDD-HHMMSS is the time when the log file was created and PID is the process ID of the real-time process that generated the console output in the log file.

To change this setting:

Do one of the following:

Maximum log folder size (megabytes)

When Log process output is ON, you can set a maximum log folder size, in megabytes. Logging stops when the maximum log folder size is reached and resumes when the size drops to 80% of the maximum size. The default is 37371 MB. The range is 1 to 232 – 1 MB

To change this setting:

Enter a value in the Maximum log folder size (megabytes) text box.

RELATED Topics: