Text_Display(Buffered)

Parent Previous Next

Full Library / Result / Text / Text_Display(Buffered)
Block Name: Text_Display(Buffered)

Code File Location: VisualSim/actor/lib/gui/Disp_Fast

Description

Display the values arriving on the input port in a text display dialog. This block buffers the display data and updates the screen after the buffer is full. Each value is displayed with a header containing the current time in scientific format. If it is a single value, this is displayed on a line.  If it is a data structure, it is displayed with each field on a line. The input type can be of any type.

The block behavior is controlled as follows:

Refer Text_Display Demo Model. TO determine the right file format, view the File Format demo.


Parameter

Explanation

Type

 Example 

Title

The title to put on the toolbar of the viewer.  Note:  The first time the viewer is rendered the path value is rendered.  If this field has a value, the default will be replaced.  This first value not change if this field is updated.  to change the view, make sure to delete the block and re-instantiate it.

String

"Transactions"

Lines_Buffered

The number of lines buffered in an internal string buffer.

Integer

5

Rows_Displayed

The vertical size of the display, in rows. This contains an integer, and defaults to 10.

Integer

8

Columns_Displayed

The horizontal size of the display, in columns. This contains an integer, and defaults to 40.

Integer

75

Font_Type

Font type attribute, user can select proportional font type, type is string. The default is "Courier."

String

Courier

viewText

If this option is enabled, the Text Display will be displayed during the simulation.  This must be disabled during batch mode.

-

-

saveText

If this option is enabled, then the Text_Display will be saved to the File_Name.

-

-

fileName

This block accepts a file name as a parameter. There are a number of file path options available for this block.  To see the list, view the section on File Paths in the Basic technology document here. The file name is a concatenation of any number of individual strings and parameters, separated by "+".  To view the file path in a demo model, click here.

-

-



Port

Explanation

Type

Input

This is a default input port.

General




 

Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator