Top  | Previous | Next

system.tag.getTagValue

Description

Returns the value of the tag at the given path.

Syntax

system.tag.getTagValue(tagPath)

Parameters

String tagPath - The tag path to retrieve. If the property is omitted, Value is assumed.

Returns

Object - The value for the given tag path.

Scope

All

Examples

This example would get a tag value and display it in a message box.

 

val = system.tag.getTagValue("[]EastSection/ValveG/HOA_bit")

system.gui.messageBox("The value is %d" % val)