Comment on page
Data Read Global
The Data Read Global block, is a crucial component of AugeLab Studio's visual programming environment. This block allows you to read data from a separate global data storage, making it especially valuable for scenarios involving loops or when you need to access globally stored data within your visual program.
- Block Name: Data Read Global
- Block Tooltip: Read from a separate global data storage, allowing loops
The Data Read Global block enables you to retrieve data from a global storage area within your AugeLab Studio project. Here's how it works:
- 1.Data Key: Specify the data key, which is a unique identifier associated with the data you want to retrieve. You can set the data key by interacting with the block's user interface.
- 2.Global Data Retrieval: When this block is executed, it looks up the global data storage associated with your AugeLab Studio project using the specified data key.
- 3.Data Output: The data stored with the matching data key is retrieved and provided as the output of the block. You can then use this data in subsequent parts of your program.
- 4.Global Scope: The data you retrieve using this block is accessible from anywhere within your project, allowing you to utilize it in various parts of your program.
Consider a scenario where you have stored specific values from previous iterations of a loop using the Data Write Global block. To access and use these stored values in later stages of your program, you can employ the Data Read Global block. This enables you to read data from the global storage, facilitating complex program logic.
- Ensure that the data key you specify for the Data Read Global block matches the one used when storing the data with the Data Write Global block. A mismatched data key will result in the block not finding the desired data.
- Data retrieved using this block remains accessible throughout the execution of your program, so manage and use global data thoughtfully to achieve your desired program behavior.
- The Data Read Global block is a versatile tool for accessing globally stored data within your AugeLab Studio projects, enhancing your ability to create dynamic and interconnected visual programs.