Difference between revisions of "Component: Console User Input (Runtime Tools)"
From Flowcode Help
Jump to navigationJump to search| Line 15: | Line 15: | ||
Allows data to be input via a console tab in raw ASCII form or as numeric byte data 0-255. | Allows data to be input via a console tab in raw ASCII form or as numeric byte data 0-255. | ||
| − | ==Component | + | ==Component Source Code== |
| − | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_ConsoleRead.fcfx FC_Comp_Source_ConsoleRead.fcfx] | |
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 87: | Line 91: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
Revision as of 17:45, 9 November 2022
| Author | Matrix Ltd |
| Version | 1.0 |
| Category | Runtime Tools |
Contents
Console User Input component
Allows data to be input via a console tab in raw ASCII form or as numeric byte data 0-255.
Component Source Code
Please click here for the component source code: FC_Comp_Source_ConsoleRead.fcfx
Detailed description
No detailed description exists yet for this component
Examples
A simple example showing how to pull user inputted data from the console tab and passing it to a COM port component byte by byte.
Downloadable macro reference
| DataAvailable | |
| Checks to see if there is any user data entered into the console tab. Returns 1 if data is available. | |
| Return | |
| GetByte | |
| Attempt to collect a byte from the console 0 - 255 = Valid data 256 = No data available | |
| Return | |
Property reference
| Properties | |
| Data Mode | |
| Sets the console data to interperete the data as ASCII or as Numbers 0-255 | |
| New line encoding | |
| Console Tab Name | |