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 2 Current »

Description

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, thisparameterindicatesthattheeventistriggered if a read request is received on the given item

boolMsimilar to the OnSent parameter of the task definition, thisparameterindicatesthattheeventistriggered if a new value is sent to the given item

boolMsimilar to the OnSet parameter of the task definition, thisparameterindicatesthattheeventistriggered if a new value is set

numberMdelay in milliseconds

stringMscript that is executed when the event is triggered

Return

None.

  • No labels