Properties
Contains the file name of a file in which states will be stored
The StateFileItem item type has the following properties:
Name | Description | ID | Flags |
---|---|---|---|
FileAccess | Decides whether the file specified in the item is in read, write, or read/write mode (Read=0, Write=1, Read/Write=2). | 10300 | Persisted, Enumerated |
ForceStopBeforeRead | This property will force the application to go to a "STOPPED" state before loading the state file. If this attribute is false, the application must be put in the "STOPPED" state manually. | 10330 | Persisted |
IncludeStateFileFolder | If this property is true, the state file will be put in the "StateFileFolder", otherwise it will be stored in the current directory. | 10320 | Persisted |
Quality | Item quality - this tells you whether an item currently has a good or bad quality. It might be bad, for example, because it isn't connected or is set to the wrong type. | 3 | ReadOnly |
Rights | Item access rights - this property may be "read", or "read write". This means that the property may only be read from, or also can be written to. For OPC items, this written value will be passed on to the external items this item comes from. | 5 | ReadOnly |
Time | The date and time when this item was last updated. | 4 | ReadOnly |
TriggerOnChange | If true, the state file will be read/written to when the item changes. | 10310 | Persisted |
Type | The item canonical data type - the specific type of this item. Whether it's an integer, string, date, etc. | 1 | ReadOnly |
Value | The current value of the item. | 2 | NormalPage |