nxa.WriteValue

Description

This function actively writes the given value of the specified item. Compared to setting a value, a value write will also propagate the value change to the field device. An optional delay can also be specified.

Signature

nxa.WriteValue (string, variant, number)

Parameters

Name

Type

Mandatory/Optional

Description

Name

Type

Mandatory/Optional

Description

 

string

M

itemID of the item that shall be written

 

variant

M

new value that shall be written

 

number

O

delay in milliseconds

Return

None.