You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Description
This function queries 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 nxa.GetValue | nxa.Value (string, variant)
Parameters
Name | Type | Mandatory/Optional | Description |
| string | M | itemID of the item that shall be queried |
| variant | O | default value (optional) |
Return
Type | Description |
variant | current value of the item |