Keyboard/Barcode Reader
This function block is designed to read keyboard and barcode inputs in real-time. It can switch between modes to handle key presses or barcode reading seamlessly.
📥 Inputs
This function block does not have any inputs.
📤 Outputs
String
Outputs the latest keyboard input or barcode read.
Boolean
A true or false value signaling whether a new input has been registered.
🕹️ Controls
Mode
A dropdown that allows users to choose between two modes:
Key Press: Reads individual key presses.
Barcode Reading: Reads a sequence of keystrokes as a barcode.
🎨 Features
Real-Time Input
The block captures input instantly and continuously, making it suitable for dynamic environments where quick data entry is essential.
Flexible Modes
Switch between reading simple key presses or full barcode sequences effortlessly.
📝 Usage Instructions
Select Mode: Choose either
Key Press
for individual key input orBarcode Reading
to read input sequences as barcodes.Connect Outputs: Link the outputs to other blocks as needed for processing the read input.
Read Input: The system reads inputs immediately, making them available for further use in real-time scenarios.
📊 Evaluation
When executed, this function block will continuously listen for input and return the latest value registered alongside a boolean indicating whether a new entry has been received.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated