Read Item Properties

Item type for reading scalar, vector and matrix values from the database.

The Read item item type has the following properties:

NameDescriptionIDFlags
InitValueEnabled

Whether this item has an initial value on start up of Apis Hive. If enabled, this allows for the setting of a value so the initial value isn't blank or null on each restart.

 Persisted
Item type

A field indicating what type of item this is. This is always set to "Read item" for Read Items.

 ReadOnly
Name

The name of this item. This is independent of the name of the item from SQL server (see the SrcItemID property).

 Persisted
Quality

Item quality. This indicates the current quality of the signal from SQL Server. The quality may be "Good" meaning the field is being read correctly, "Bad:Connect error" meaning that there's a problem with the database location or security properties on the module, or "Bad:Config error" meaning there's another problem with the connection to the database, or the field is not found in the database results.

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
SrcItemID

The item ID in the source. This is the item ID this item uses to fetch data from the source.

5030Persisted
Time

The date and time when this item was last updated.

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

2ReadOnly
Valuetype

Item canonical datatype. The type of value this field contains. For example, string, int, datetime, etc.

10031Persisted, Enumerated

See also

Basic Item Properties

Predefined Item Properties

OPC DA Properties