Difference between revisions of "Component: Console Writer (Indicators)"
From Flowcode Help
Jump to navigationJump to search| Line 36: | Line 36: | ||
| + | A basic example using two circular knobs to simulate data e.g., temperature. | ||
| + | Both xy chart and Console, log the data. | ||
| − | + | {{Fcfile|Logging_Example.fcsx|Logging Example}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Downloadable macro reference== | ==Downloadable macro reference== | ||
Revision as of 17:18, 8 March 2022
| Author | 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 Pack
FREE
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.
Downloadable macro reference
| Clear | |
| Clears the contents of the console tab. | |
| Return | |
| CountLines | |
| Counts the number of lines in the console. | |
| Return | |
| AddString | |
| Adds text string to the console window. | |
| Data | |
| Return | |
| SetTextLine | |
| Sets the string data from a specific line in the console. | |
| Line | |
| Line number, -1 for the last line. | |
| Data | |
| Return | |
| SetColour | |
| Allows for full RGB colour selection | |
| R | |
| Colour channel, Range: 0-255 | |
| G | |
| Colour channel, Range: 0-255 | |
| B | |
| Colour channel, Range: 0-255 | |
| Return | |
| SetColourIdx | |
| Sets the text colour from the properties selection of colours. | |
| Index | |
| Range: 0-3 | |
| Return | |
| GetTextLine | |
| Gets the string data from a specific line in the console. | |
| Line | |
| Line number, -1 for the last line. | |
| Return | |