You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Description
This function actively reads the value of the specified item. Compared to getting a value, a value read also sends a read request to the field device. An optional delay can also be specified. It is possible to delay this.
Signature
variant nxa.ReadValue (string, number)
Parameters
Name | Type | Mandatory/Optional |
Description |
| string | M | itemID of the item that shall be read |
| number | O | delay in milliseconds (optional) |
Return
Type | Description |
variant | current value of the item |