/
Reporting function: GetItemValue()
Reporting function: GetItemValue()
Description
This function returns the current value of a Server Item. If the quality of the item is UNCERTAIN, it will return the given default value. Note that this function reads the current value of the item that is stored within the server - it will not send a dedicated read request to the field device.
Signature
variant GetItemValue(string)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
itemID | string | M | item ID of the item that shall be queried |
A backslash in the item ID has to be escaped with another backslash character "\".
E.g. the item NETx\Server\Version must be written as 'NETx\\Server\\Version'.
Return
Type | Description |
---|---|
variant | Current value of the item. |
, multiple selections available,
Related content
nxa.GetItemValuesSum
nxa.GetItemValuesSum
More like this
nxa.GetSimpleItemValuesSum
nxa.GetSimpleItemValuesSum
More like this
nxa.GetItemID , nxa.ItemID
nxa.GetItemID , nxa.ItemID
More like this
Reporting
Reporting
More like this
Item tree
Item tree
More like this
Meta property definitions
Meta property definitions
More like this