Data Read Global
This function block allows you to read data from a global storage that is accessible across different scenarios, facilitating loops and data sharing. Please note that data integrity is not guaranteed.
📥 Inputs
This function block does not require any inputs.
📤 Outputs
Data
The output provides the value associated with the specified key from the global data storage. If the key is not found, it returns -1.
🕹️ Controls
Data Key
A text box where you enter the key of the data you want to read from the global storage.
🎨 Features
Global Data Access
This block gives access to data that is stored globally, allowing for easy retrieval and sharing of information between different parts of your application.
Warning for Missing Keys
If the specified key is not found in the global storage, the function block logs a warning to help you troubleshoot.
📝 Usage Instructions
Specify Data Key: Enter the desired key into the
Data Key
text box to indicate which data should be retrieved.Run the Block: Execute the block to read from the global data storage. The value associated with the provided key will be output.
📊 Evaluation
When evaluated, this function block attempts to retrieve the data associated with the specified key in the global storage. If successful, it outputs the data; otherwise, it returns -1.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated