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

Version 1 Next »

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

Name Type Mandatory/Optional Description
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.
  • No labels