Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function sets the value of the specified Server Item. Compared to the function nxanxa.SetValue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

NameTypeMandatory/OptionalDescription
 stringMitemID of the item that shall be set
 variantMnew value that shall be set
 dateMtime stamp information (local time) for the value. This value is also stored in the historical database.
 stringMsource information (e.g.
SYS
SYS:LUA;SRC:
MyDevice
MyDevice)

Return

None.