nxa.AddReadTask

Description

This function adds a new READ task definition during runtime.

Signature

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

Parameters

NameTypeMandatory/OptionalDescription

stringMitemID of the source Server Item that triggers the task

stringMitemID of the Server Item that has to be read

boolMcorresponds to the OnReceive parameter of the task definition

boolMcorresponds to the OnSend parameter of the task definition

boolMcorresponds to the OnSet parameter of the task definition

numberMtime interval in milliseconds that the task will be delayed when triggered

Return

TypeDescription
stringTaskID that identifies the created task.