Data Read Global
This function block reads a value stored in the global data storage of the current project scene. Use it when you need to retrieve data that was saved elsewhere and share it across different parts of your scenario.
📥 Inputs
This function block does not have any input sockets.
📤 Outputs
Generic On evaluation this output provides the value associated with the requested global key. If the key is not found a fallback or warning will be produced (see Troubleshooting).
🕹️ Controls
Data Key Enter the name of the global data key you want to read.
🎯 Features
Read from global storage that can be accessed from other blocks and scenes.
Autocomplete support for existing global keys to reduce typing errors.
Emits a single
Genericoutput that can contain any supported data type.
📊 Evaluation
When the scenario runs, the block looks up the provided Data Key in the global storage and returns the stored value on the Generic output. If the key is missing, a warning is issued and a placeholder value is returned.
📝 Usage Instructions
Provide the exact key name in the
Data Keycontrol.Place this block where you need to consume globally stored data.
Use the
Genericoutput as input to the block that needs the data.
💡 Tips and Tricks
To store values for later retrieval, use the
Data Write Globalblock together with this block.If you need temporary or loop-local storage instead, consider using
Data Read LocalandData Write Localfor more isolated data flow.Combine with
Is NoneorReplace Nonewhen the key may be missing, so your scenario can provide default values.Use
Data Memorywhen you want to freeze a value in memory until explicitly updated.For debugging, route the output into
Debug Inputto inspect retrieved values in the log.To export retrieved values in structured form, pair with
Data to JSONorCSV Export.
🛠️ Troubleshooting
No value returnedCheck that theData Keyexactly matches the key used when writing the data. Typo is the most common cause.Key not foundIf you see a warning about a missing key, confirm that the block that wrote the data ran earlier in the scenario, and consider usingData Write Globalto create the key before reading.Unexpected data typeIf the consuming blocks expect a specific data type, validate the retrieved value withData Type Converteror handle missing/incorrect types withReplace None.
✅ Best Practices
Use clear, descriptive key names to avoid collisions (for example include scene or subsystem prefixes).
When designing loops or parallel flows, prefer local storage where possible to avoid race conditions; use global storage only when intentional cross-scope sharing is required.
Protect reads with checks like
Is Noneto make your flows robust against missing data.
Last updated