Versions Compared

Key

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

...

This function adds a new event that is triggered whenever the given item changes.

Signature

nxa.AddItemEvent (string, bool, bool, bool, number, string)

Parameters

NameTypeMandatory/OptionalDescription

stringMitemID of the source Server Item that triggers the event

boolMsimilar to the OnReceive parameter of the task definition
(cf. Section 4.5.2)
, thisparameterindicatesthattheeventistriggered if a read request is received on the given item

boolMsimilar to the OnSent parameter of the task definition
(cf. Section 4.5.2)
, thisparameterindicatesthattheeventistriggered if a new value is sent to the given item

boolMsimilar to the OnSet parameter of the task definition
(cf. Section 4.5.2)
, thisparameterindicatesthattheeventistriggered if a new value is set

numberMdelay in milliseconds

stringMscript that is executed when the event is triggered

Return

None.