Code File Location: VisualSim/actor/lib/gui/Display
Display the values arriving on the input port in a text display dialog. 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 TextDisplay Demo Model.
Parameter |
Explanation | Type |
Example |
The horizontal size of the display, in columns. This contains an integer, and defaults to 40. | Integer |
75 | |
rowsDisplayed |
The vertical size of the display, in rows. This contains an integer, and defaults to 10. | Integer | 8 |
title | The
title to put on the toolbar of the view. 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" |
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 Reference Guide 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 |