Difference between revisions of "Component: Panel Console Viewer (Runtime Tools)"
From Flowcode Help
Jump to navigationJump to searchLine 13: | Line 13: | ||
==Panel Console Viewer component== | ==Panel Console Viewer component== | ||
− | An easy way to display the data from | + | An easy way to display the data from up to four console windows on the panel. |
==Component Pack== | ==Component Pack== | ||
− | + | MODELS | |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 42: | Line 44: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 66: | Line 70: | ||
==Downloadable macro reference== | ==Downloadable macro reference== | ||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetText''' | ||
+ | |- | ||
+ | | colspan="2" | Allows the selected text to be specified. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
+ | | width="90%" | Item | ||
+ | |- | ||
+ | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | ||
+ | | width="90%" | Text | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetText''' | ||
+ | |- | ||
+ | | colspan="2" | Allows the selected text to be read back. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
+ | | width="90%" | Item | ||
+ | |- | ||
+ | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AssignConsoleHandle''' | ||
+ | |- | ||
+ | | colspan="2" | Assigns a specific console handle to one of the text fields. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
+ | | width="90%" | Item | ||
+ | |- | ||
+ | | colspan="2" | 1=Col1, 2=Col2, 3=Col3, 4=Col4 | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | ||
+ | | width="90%" | ConsoleHandle | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetColor''' | ||
+ | |- | ||
+ | | colspan="2" | Sets the selected item's color. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
+ | | width="90%" | Item | ||
+ | |- | ||
+ | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG | ||
+ | | width="90%" | Color | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AppendText''' | ||
+ | |- | ||
+ | | colspan="2" | Allows the text to be appended to without overwriting any existing text. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
+ | | width="90%" | Item | ||
+ | |- | ||
+ | | colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | ||
+ | | width="90%" | Text | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
+ | | width="90%" | AppendType | ||
+ | |- | ||
+ | | colspan="2" | 0=Start of Text, 1=End of Text | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
Line 77: | Line 196: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] |
− | | width="90%" | | + | | width="90%" | Width |
+ | |- | ||
+ | | colspan="2" | Width of the console ripper component. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Height | ||
+ | |- | ||
+ | | colspan="2" | Heigth of the console ripper component. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Title Size | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Size applied to the title text font. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
− | | width="90%" | | + | | width="90%" | Text Size |
+ | |- | ||
+ | | colspan="2" | Size applied to the data text font. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Number Columns | ||
+ | |- | ||
+ | | colspan="2" | Sets the maximum number of consoles that can be displayed by the component. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Title Color | ||
+ | |- | ||
+ | | colspan="2" | Sets the colour of the title text. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Text1 Color | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Sets the colour of the data text 1. |
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] |
− | | width="90%" | | + | | width="90%" | Text2 Color |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Sets the colour of the data text 2. |
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] |
− | | width="90%" | | + | | width="90%" | Border Color |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Sets the colour of the border. |
|- | |- | ||
− | | width="10%" align="center | + | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] |
− | | width="90% | + | | width="90%" | Show Title |
|- | |- | ||
+ | | colspan="2" | Decides if the title text is displayed. | ||
|- | |- | ||
− | | width="10%" align="center | + | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] |
− | | width="90% | + | | width="90%" | Clear Old Data |
|- | |- | ||
+ | | colspan="2" | Removes old data from the console viewer when starting simulation if active. | ||
|} | |} |
Revision as of 17:19, 9 November 2022
Author | Matrix Ltd |
Version | 1.1 |
Category | Runtime Tools |
Contents
Panel Console Viewer component
An easy way to display the data from up to four console windows on the panel.
Component Pack
MODELS
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
SetText |
Allows the selected text to be specified. | |
![]() |
Item |
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 | |
![]() |
Text |
![]() |
Return |
![]() |
GetText |
Allows the selected text to be read back. | |
![]() |
Item |
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 | |
![]() |
Return |
![]() |
AssignConsoleHandle |
Assigns a specific console handle to one of the text fields. | |
![]() |
Item |
1=Col1, 2=Col2, 3=Col3, 4=Col4 | |
![]() |
ConsoleHandle |
![]() |
Return |
![]() |
SetColor |
Sets the selected item's color. | |
![]() |
Item |
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border | |
![]() |
Color |
![]() |
Return |