Properties

A StateSave file item

The StateFileName item type has the following properties:

NameDescriptionIDFlags
CreateDirectory

Whether to attempt to create file directory if it doesn't exist.

10306Persisted
DeleteDir

Deletes the snapfile directory after a delete of snapfile, if the directory is empty.

10320Persisted
Description

A description of what this item does. This is free text, so you can write anything you like here.

101Persisted
FileAccess

Decides whether the file specified in the item is in read, write, or read/write mode (Read=0, Write=1, Read/Write=2).

10300Persisted, Enumerated
FilePrefix

A fixed value to include before the file name.

10302Persisted
FileSuffix

A fixed value to include after the file name.

10304Persisted
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.

3ReadOnly
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.

5ReadOnly
Time

The date and time when this item was last updated.

4ReadOnly
TriggerOnChange

If true, the state file will be read/written to when the item changes.

10310Persisted
Type

The item canonical data type - the specific type of this item. Whether it's an integer, string, date, etc.

1ReadOnly
Value

The current value of the item.

2NormalPage

See also

Basic Item Properties

Predefined Item Properties

OPC DA Properties