🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Data Write Global

Overview

The Data Write Global block is a fundamental component of the AugeLab Studio's visual programming environment. This block allows you to write data to a separate global data storage, which is especially useful for scenarios involving loops or when you need to store and access data globally within your visual program.
Main Scenario
Within subsystem

Block Details

  • Block Name: Data Write Global
  • Block Tooltip: Write to a separate global data storage, allowing loops

Block Functionality

The Data Write Global block enables you to write data to a global storage area within your AugeLab Studio project. Here's how it works:
  1. 1.
    Input Data: Connect the data you want to store to the input socket of this block. This can be any type of data or information that you need to access or modify later in your program.
  2. 2.
    Data Key: Specify a unique identifier, known as a data key, that will be used to reference and retrieve this data from the global storage. You can set the data key by interacting with the block's user interface.
  3. 3.
    Data Storage: When this block is executed, it stores the input data in the global data storage associated with your AugeLab Studio project.
  4. 4.
    Global Scope: The data you store using this block is accessible from anywhere within your project, making it useful for scenarios involving loops or situations where you need to share data across multiple parts of your program.

Example Usage

Imagine you have a program that performs complex calculations in a loop, and you want to retain a specific value from each iteration of the loop. You can use the Data Write Global block to store this value in a global data storage, allowing you to access and analyze it later in your program.

Notes

  • Be mindful of choosing unique and descriptive data keys to avoid conflicts with other data stored globally in your project.
  • Data stored using this block remains accessible throughout the execution of your program, so ensure that you manage and clear global data appropriately to prevent memory or performance issues.
  • The Data Write Global block is a versatile tool for managing and sharing data within your AugeLab Studio projects, enhancing your ability to create complex and dynamic visual programs.