Store and Forward

Store and Forward stores data in case of temporary connection loss to storage.

Supported databases

By default, Store and Forward is disabled, and you must enable and configure it for each database object in the project.
Store and Forward sends data outside the device, to be able data buffering and storage until return connection to the database. Because of this, Store and Forward is available for ODBC and external Influx data bases. It is unavailable for Embedded and Influx Internal databases, because they are stored on the same device as
FactoryTalk Optix Runtime
. See Create an ODBC database. and Create a remote Influx database.

Operation

Diagnostic data (usage and overflow) are updated every 0.5 sec. Changing BufferOverflow from false to true is reported immediately, to allow the user to quickly stop the process in the event of data loss. Diagnostic data is only available in the object browser, because it is Read Only.
The
Max Buffer Size
parameter is expressed in the number of elements (not memory usage) and should be set in the given range of values. If the user provides a different value, the default value of 1000 elements is used. The maximum value is 100,000 elements. A single element in buffer is a single entry to a database. It can vary in scope from a single tag to thousands of tags, depending on how many and what kind of variables are injected to the data base.
The Store and Forward buffer is protected against excessive RAM consumption, which could cause problems with the FactoryTalk Optix application or the operating system. If you set the buffer size to be too large in relation to the RAM cache available on your device, when the size of the available (free) RAM falls below 20%, the buffer is blocked and only the size that was available when the 20% mark was exceeded is available. If RAM is freed in the next stage, the buffer size unlocks again.
TIP: If you set multiple buffers for multiple objects, buffers may compete for available RAM.

Method sequences

With Store and Forward disabled, method sequences run synchronously. With Store and Forward enabled, method sequences run asynchronously.
Method sequence example
Sequence
Store and Forward enabled?
Result
A Button object with a MouseClick event that triggers these methods:
  1. Insert data into database method
  2. Set variable value method
False
(default)
The second method executes once the first method completes. If the first method fails, the second method does not execute.
True
The first method and the second method execute asynchronously. The second method executes regardless of the first method result.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.