Versions Compared

Key

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

Description

This function actively reads the value issues a read operation of the specified item . Compared to getting a value, a value read also sends a read request to the field device. An optional delay can also be specified. It is possible to delay thisThe result is received asynchronously from the field and therefore not returned by this function. Only data points related to field level interfaces are supported.

Signature

...

nxa.ReadValue (string, number)

Parameters

NameTypeMandatory/OptionalDescription

stringMitemID of the item that shall be read

numberOdelay in milliseconds (optional)

Return

TypeDescriptionvariantcurrent value of the item