Data Read Global
This function block reads a value stored in the global data storage of the current scenario. Use it to retrieve data that was written by other parts of the scenario or by other blocks running in different scopes.
π₯ Inputs
This function block does not have any input sockets.
π€ Outputs
Generic This output returns the value retrieved from the global storage for the provided key. If the key cannot be found, a fallback value is returned and a warning is produced.
πΉοΈ Controls
Key Enter the name of the global storage entry you want to read.
π¨ Features
Global access: Read values that are shared across the entire scenario.
Loop-friendly: Useful when different execution branches or loops need to share information.
Safe feedback: If the requested key is missing, the block provides a warning and returns a fallback value to keep the flow running.
π Usage Instructions
Set the desired key in the
Keycontrol.Use the
Genericoutput to feed the retrieved value into other blocks.Combine with blocks that write to global storage to exchange data between different parts of your scenario.
π Evaluation
When executed, the block looks up the entered key in the global storage and outputs the corresponding value. If the key is not present, a fallback is returned and a warning is logged.
π‘ Tips and Tricks
Use
Data Write Globalto store values that other blocks should read with this block.Use
Data Read Local/Data Write Localwhen you want scoped storage for loops or subsystems instead of global sharing.Use
Is NoneorDebug Inputafter theGenericoutput to validate or inspect returned values when keys may be missing.Use
Data Memoryto freeze or gate values if you need the read value to remain stable until explicitly updated.Combine with
CSV ExportorImage Loggerto persist read values alongside logged images or exported data for traceability.
π οΈ Troubleshooting
If you see a warning about a missing key: verify the exact key name (case-sensitive) and ensure some block has previously written that key to global storage.
If the returned value is unexpected: use
Debug Inputto log or inspect the value, and confirm the writing block used the intended key and value format.
Last updated
Was this helpful?