Component: Console Writer (Indicators)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Indicators |
Contents
Console Writer component
A simple component to aid in creating and wiriting data to a console tab. Allows text to be coloured and automatically appended with a timestamp.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
Clear
Clears the contents of the console tab.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
CountLines
Counts the number of lines in the console.
Parameters
- This macro has no parameters
Return value
AddString
Adds text string to the console window.
Parameters
- <- STRING Data
- This parameter may be returned back to the caller
Return value
- This call does not return a value
SetTextLine
Sets the string data from a specific line in the console.
Parameters
- LONG Line
- Line number, -1 for the last line.
- <- STRING Data
- This parameter may be returned back to the caller
Return value
- This call does not return a value
SetColour
Allows for full RGB colour selection
Parameters
- BYTE R
- Colour channel, Range: 0-255
- BYTE G
- Colour channel, Range: 0-255
- BYTE B
- Colour channel, Range: 0-255
Return value
- This call does not return a value
SetColourIdx
Sets the text colour from the properties selection of colours.
Parameters
- BYTE Index
- Range: 0-3
Return value
- This call does not return a value
GetTextLine
Gets the string data from a specific line in the console.
Parameters
- LONG Line
- Line number, -1 for the last line.
Return value
Property reference
Console Name
This property is of type Line of text and can be referenced with the variable name ConsoleName.
No additional information
Colour 0
This property is of type Color picker and can be referenced with the variable name Colour0.
No additional information
Colour 1
This property is of type Color picker and can be referenced with the variable name Colour1.
No additional information
Colour 2
This property is of type Color picker and can be referenced with the variable name Colour2.
No additional information
Colour 3
This property is of type Color picker and can be referenced with the variable name Colour3.
No additional information
New Line After Data
This property is of type True or false and can be referenced with the variable name NLAfterData.
No additional information
Clear On Sim Start
This property is of type True or false and can be referenced with the variable name ClearOnSimStart.
Automatically clear the console tab when the simulation is started.
Add Timestamp
This property is of type True or false and can be referenced with the variable name Timestamp.
No additional information
Date Format
This property is of type Fixed list of ints and can be referenced with the variable name TimeStamp1::DateFormat.
Specifies the format of the date string.
No - "DD/MM/YY"
Yes - "MM/DD/YY"
Time Separator
This property is of type Line of text and can be referenced with the variable name TimeStamp1::TimeSeperator.
Characters that are used in between the time digits
Date Separator
This property is of type Line of text and can be referenced with the variable name TimeStamp1::DateSeparator.
Characters that are used in between the date digits
TimeStamp Separator
This property is of type Line of text and can be referenced with the variable name TimeStamp1::TimeStampSeparator.
Characters that are used between the time and date strings when returning a full time stamp.
Override Colour
This property is of type True or false and can be referenced with the variable name OverrideColour.
Overrides the current selected colour when writing the timestamp.
Timestamp Colour
This property is of type Color picker and can be referenced with the variable name TimestampColour.
No additional information