Description
This function sets the value of the specified Server Item. Compared to the function nxa.SetValue, the time stamp and the source information can also be set. Note that the new value will only be set within the server - it will not be forwarded to the field device.
Signature
nxa.SetItemData (string, variant, date, string)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | itemID of the item that shall be set | |
variant | M | new value that shall be set | |
date | M | time stamp information (local time) for the value. This value is also stored in the historical database. | |
string | M | source information (e.g. SYS:LUA;SRC:MyDevice) |