Versions Compared

Key

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

Description

This function returns the current value of a Server Item. If the quality of the item is UNCERTAIN, it will return the given default value. Note that this function reads the current value of the item that is stored within the server - it will not send a dedicated read request to the field device.

Signature

variant GetItemValue(string)

Parameters

Name

Type

Mandatory/Optional

Description

itemID

string

M

item ID of the item that shall be queried

...

Note

A backslash in the item ID has to be escaped with another backslash character "\".

E.g. the item NETx\Server\Version must be written as 'NETx\\Server\\Version'.

Return

Type

Description

variant

current

Current value of the item.