Component: Console Writer (Indicators)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
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.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ConsoleWriter.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ConsoleWriter.fcfx
Detailed description
No detailed description exists yet for this component
Examples
A basic example using two circular knobs to simulate data e.g., temperature. Both xy chart and Console, log the data.
Macro reference
AddString
AddString | |
Adds text string to the console window. | |
- STRING | Data |
- VOID | Return |
Clear
Clear | |
Clears the contents of the console tab. | |
- VOID | Return |
CountLines
CountLines | |
Counts the number of lines in the console. | |
- ULONG | Return |
GetTextLine
GetTextLine | |
Gets the string data from a specific line in the console. | |
- LONG | Line |
Line number, -1 for the last line. | |
- STRING | Return |
SetColour
SetColour | |
Allows for full RGB colour selection | |
- BYTE | R |
Colour channel, Range: 0-255 | |
- BYTE | G |
Colour channel, Range: 0-255 | |
- BYTE | B |
Colour channel, Range: 0-255 | |
- VOID | Return |
SetColourIdx
SetColourIdx | |
Sets the text colour from the properties selection of colours. | |
- BYTE | Index |
Range: 0-3 | |
- VOID | Return |
SetTextLine
SetTextLine | |
Sets the string data from a specific line in the console. | |
- LONG | Line |
Line number, -1 for the last line. | |
- STRING | Data |
- VOID | Return |
ShowConsole
ShowConsole | |
Pops up the console window and shows the correct tab. | |
- VOID | Return |