Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This function adds a new WRITE WRITE task definition during runtime.

Signature

nxa.AddWriteTask (string, string, bool, bool, bool, number, variant)

Parameters

NameTypeMandatory/OptionalDescription
 stringMitemID of the source Server Item that triggers the task
 stringMitemID of the destination Server Item that is changed by the task
 boolMcorresponds to the
OnReceive
OnReceive parameter of the task definition (cf. Section 4.5.2)
 boolMcorresponds to the
OnSend
OnSend parameter of the task definition (cf. Section 4.5.2)
 boolMcorresponds to the
OnSet
OnSet parameter of the task definition (cf. Section 4.5.2)
 numberMtime interval in milliseconds that the task will be delayed when triggered
 variantOif used, this value will be used instead of the value of the source item (optional)

Return

None.