Component: Console User Input (Runtime Tools)
Author | Matrix Ltd |
Version | 1.0 (Release) |
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.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
DataAvailable
Checks to see if there is any user data entered into the console tab.
Returns 1 if data is available.
Parameters
- This macro has no parameters
Return value
- BOOL : Returns true if the operation is a success, else false
GetByte
Attempt to collect a byte from the console
0 - 255 = Valid data
256 = No data available
Parameters
- This macro has no parameters
Return value
Property reference
Data Mode
This property is of type Fixed list of ints and can be referenced with the variable name DataMode.
Sets the console data to interperete the data as ASCII or as Numbers 0-255
New line encoding
This property is of type Fixed list of ints and can be referenced with the variable name NewLineEnc.
No additional information
Console Tab Name
This property is of type Line of text and can be referenced with the variable name label.
No additional information