Description
This function adds a new WRITE task definition during runtime.
Signature
nxa.AddWriteTask (string, string, bool, bool, bool, number, variant)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | itemID of the source Server Item that triggers the task | |
string | M | itemID of the destination Server Item that is changed by the task | |
bool | M | corresponds to the OnReceive parameter of the task definition (cf. Section 4.5.2) | |
bool | M | corresponds to the OnSend parameter of the task definition (cf. Section 4.5.2) | |
bool | M | corresponds to the OnSet parameter of the task definition (cf. Section 4.5.2) | |
number | M | time interval in milliseconds that the task will be delayed when triggered | |
variant | O | if used, this value will be used instead of the value of the source item (optional) |
Return
None.