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 this. The result is received asynchronously from the field and therefore not returned by this function.


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