Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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.

This operation is also recorded in the historical database.

Signature

nxa.SetItemData (string, variant, date, string)

Parameters

NameTypeMandatory/OptionalDescription

stringMItemID of the item that shall be set.

variantMNew value that shall be set.

dateMTime stamp information (local time) for the value. If not set then the current time is used.

stringMSource information (e.g. SYS:LUA;SRC:MyDevice)

Return

None.

  • No labels