Component: Panel Console Viewer (Runtime Tools)

From Flowcode Help
Revision as of 16:13, 16 November 2021 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Matrix Ltd
Version 1.1
Category Runtime Tools


Panel Console Viewer component

An easy way to display the data from up to four console windows on the panel.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png SetText
Allows the selected text to be specified. 
Fc9-u8-icon.png - BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
Fc9-string-icon.png - STRING Text
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetText
Allows the selected text to be read back. 
Fc9-u8-icon.png - BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png AssignConsoleHandle
Assigns a specific console handle to one of the text fields. 
Fc9-u8-icon.png - BYTE Item
1=Col1, 2=Col2, 3=Col3, 4=Col4 
[[File:]] - ConsoleHandle
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetColor
Sets the selected item's color. 
Fc9-u8-icon.png - BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border 
Fc9-u32-icon.png - ULONG Color
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AppendText
Allows the text to be appended to without overwriting any existing text. 
Fc9-u8-icon.png - BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
Fc9-string-icon.png - STRING Text
 
Fc9-u8-icon.png - BYTE AppendType
0=Start of Text, 1=End of Text 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png CheckBuffer
Returns the number of values in the transmit or receive buffer 
[[File:]] - Buffer
0=Transmit / 1=Receive 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png ReceiveString
Gets a string from the receive buffer 
Fc9-u16-icon.png - UINT MaxChars
 
Fc9-u16-icon.png - UINT Timeout
Time in milliseconds to wait for data 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png Initialise
Initialises the UART component pins ready to send and receive data 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReceiveByteArray
Receives an array of bytes and returns the number of bytes received. 
Fc9-u8-icon.png - BYTE Data
A byte array variable to hold the received data 
Fc9-u16-icon.png - UINT NumBytes
Maximum number of bytes to try and receive 
Fc9-u16-icon.png - UINT Timeout
Max amount of time in ms to wait between bytes 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png ReceiveString
Receives a string of bytes and returns the number of bytes received. 
Fc9-string-icon.png - STRING StringData
 
Fc9-u16-icon.png - UINT NumBytes
Maximum number of bytes to try and receive 
Fc9-u16-icon.png - UINT Timeout
Max amount of time in ms to wait between bytes 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png Uninit
Un-initialize the UART and release the resources 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetList
Gets Named property List 
Fc9-string-icon.png - STRING Name
 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png Delay
Software UART Bit Delay 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetValue
set Value of Named property 
Fc9-string-icon.png - STRING Name
 
Fc9-string-icon.png - STRING Value
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Uninit
Un-initialize the UART and release the resources 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetList
Gets Named property List 
Fc9-string-icon.png - STRING Name
 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png ReceiveByteArray
Receives an array of bytes and returns the number of bytes received. 
Fc9-u8-icon.png - BYTE Data
 
Fc9-u8-icon.png - BYTE NumBytes
Maximum number of bytes to try and receive 
Fc9-u8-icon.png - BYTE Timeout
Max amount of time in ms to wait between bytes 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png ReceiveString
Receives a string of bytes and returns the number of bytes received. 
Fc9-string-icon.png - STRING StringData
 
Fc9-u8-icon.png - BYTE NumBytes
Maximum number of bytes to try and receive 
Fc9-u8-icon.png - BYTE Timeout
Max amount of time in ms to wait between bytes 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png GetList
returns Named property list 
Fc9-string-icon.png - STRING Name
 
Fc9-string-icon.png - STRING Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-15-icon.png Width
Width of the console ripper component. 
Fc9-type-15-icon.png Height
Heigth of the console ripper component. 
Fc9-type-15-icon.png Title Size
Size applied to the title text font. 
Fc9-type-15-icon.png Text Size
Size applied to the data text font. 
Fc9-type-16-icon.png Number Columns
Sets the maximum number of consoles that can be displayed by the component. 
Fc9-type-1-icon.png Title Color
Sets the colour of the title text. 
Fc9-type-1-icon.png Text1 Color
Sets the colour of the data text 1. 
Fc9-type-1-icon.png Text2 Color
Sets the colour of the data text 2. 
Fc9-type-1-icon.png Border Color
Sets the colour of the border. 
Fc9-type-7-icon.png Show Title
Decides if the title text is displayed. 
Fc9-type-7-icon.png Clear Old Data
Removes old data from the console viewer when starting simulation if active. 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations