Stored variable properties
- Last UpdatedSep 06, 2023
- 1 minute read
Refer to the following table for the key configurable properties of Stored variable.
Data properties
|
Data |
Description |
Valid values |
|---|---|---|
|
SampleTypeCode |
(Required) The data type of the value of the variable. Default: Single |
Boolean, DateTime, Double, Event, Int32, Int64, Single, String. |
|
UpdateMode |
The setting that initializes the data stream. Use the default Auto mode when the stored variable stores data, for example, a setpoint, that changes only when a user enters a new value. Use the OnWrite mode in cases where, for example, you have a code item that continually obtains values and enters the data into the stored variable stream, for example, custom connector or signal generator. Default: Auto |
Auto, OnWrite |
|
Value |
The latest value of the StoredVariable item. You can use this item to directly change the value of the item. AVEVA™ Production Management usually reads the variable tag to derive the value. Default: No value |