Jump to content

Component: Panel Console Viewer (Runtime Tools)

From Flowcode Help
Revision as of 10:35, 17 November 2021 by Wiki bot (talk | contribs)
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

SetText
Allows the selected text to be specified. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
- STRING Text
 
- VOID Return


GetText
Allows the selected text to be read back. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
- STRING Return


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


SetColor
Sets the selected item's color. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border 
- ULONG Color
 
- VOID Return


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


GetOffset
 
- UINT Return


ReceiveString
Gets a string from the receive buffer 
- UINT MaxChars
 
- UINT Timeout
Time in milliseconds to wait for data 
- STRING Return


Initialise
Initialises the UART component pins ready to send and receive data 
- VOID Return


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


Start
Startup routine required by the hardware device. Automatically clears the display after initialising. 
- VOID Return


SetLEDState
Sets the state of a single LED 
- BYTE Port
0 = PortA, 1 = PortB 
- BYTE LED
0 = LED0, 7 = LED7 
- BYTE State
 
- VOID Return


GetRxIdent
Gets the Rx ID as a Integer Standard and Extended IDs. 
- BYTE Buffer
 
- ULONG Return


Initialise
Must be called before any other CAN component macros to enable and initialise the CAN peripheral.  
- VOID Return



Property reference

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