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