Data Memory

This function block is used to store and retain data in memory for later use. It provides a simple way to keep data persistent across different evaluations within a workflow.

πŸ“₯ Inputs

Generic The input data that you want to store in memory.

Update Data A boolean signal that, when set to true, updates the stored data in memory with the new input data.

πŸ“€ Outputs

Generic The output returns the currently stored data in memory.

πŸ•ΉοΈ Controls

This function block does not have any specific controls to interact with directly.

🎨 Features

Data Retention The block retains the most recent input for use in subsequent evaluations, allowing for persistent memory management.

Conditional Updating The stored data in memory can be updated conditionally based on the boolean input.

πŸ“ Usage Instructions

  1. Provide Data: Connect any data-generating block to the Generic input to supply the data you wish to store.

  2. Control Update: Connect a boolean signal to the Update Data input. When this signal is true, the block will update the stored data with the current input.

  3. Retrieve Data: Use the output of this block to access the currently stored data at any point in your workflow.

πŸ“Š Evaluation

Upon evaluation, this function block will return the data currently stored in memory. If the update signal is activated, it will replace the old data with any new input received.

πŸ› οΈ Troubleshooting

No Data Retained

If you find that no data is being retained, ensure that your boolean Update Data signal is functioning correctly and actively set to true when you want to update the stored data.

Incorrect Data Retrieved

If the output does not reflect the expected data, double-check the input connection to ensure the correct data is being fed into the block.

πŸ’‘ Tips and Tricks

Chaining with Other Blocks

You can chain this block with other function blocks, such as Batch Processing, to efficiently manage data flow by updating data only when necessary.

Using with Conditional Logic

Combine this block with logic operations like And or Or to manage complex workflows where data retention depends on multiple conditions.

Last updated