nxa.AddReadTask
Description
This function adds a new READ task definition during runtime.
Signature
nxa.AddReadTask (string, string, bool, bool, bool, number)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | itemID of the source Server Item that triggers the task | |
string | M | itemID of the Server Item that has to be read | |
bool | M | corresponds to the OnReceive parameter of the task definition | |
bool | M | corresponds to the OnSend parameter of the task definition | |
bool | M | corresponds to the OnSet parameter of the task definition | |
number | M | time interval in milliseconds that the task will be delayed when triggered |
Return
Type | Description |
---|---|
string | TaskID that identifies the created task. |