Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA

GetTagGroupCurValue

  • Last UpdatedApr 24, 2025
  • 2 minute read

GetTagGroupCurValue provides the current value for all of the Administrator-modifiable tag fields (in flexTag), given a tag group and a (possibly empty) set of points. This is used for determining what to display for the current value of fields in a tag group or subset of points in a tag group.

Input Parameters

  • TagGroup - the name of the tag group.

  • DBnPnts - a list of database points separated by an asterisk (*), if empty all members of the tag group will be considered.

Results

The result set contains the values for the following flexTag fields:

  • curTagType

  • cmsg

  • workOrder

  • description

  • expectedRemovalDate

  • operatorCmdOverride

If not all members of the tag group (or specified database points) have the same value, then the value returned will be blank.

Examples

For all of the examples, assume the following flexTag records exist:

 

Tag Group

Database

Point

curTagType

cmsg

work Order

descr.

expected Removal Date

operator Cmd Override

TG1

analog

ana1

warn

 

wo1

ana1_wa rn

1/1/2013

12:00:00

.000

no

TG1

analog

ana2

no_command

 

wo1

ana1_no

1/1/2013

12:00:00

.000

no

TG1

status

sta1

warn

OPEN

wo1

sta1_war n

1/1/2013

12:00:00

.000

no

TG1

status

sta2

no_command

CLOSE

wo1

sta2_no

1/1/2013

12:00:00

.000

no

TG2

analog

ana1

warn

 

wo2

ana1_wa rn

1/1/2013

12:00:00

.000

no

TG2

analog

ana2

no_command

 

wo2

ana2_no

1/1/2013

12:00:00

.000

no

TG2

status

sta1

warn

 

wo2

sta1_war n

1/1/2013

12:00:00

.000

no

 

Input to GetTagGroupCurValue :

TagGroup =

DBnPnts =

 

curTagType

cmsg

workOrder

description

expected Removal
Date

operator Cmd Override

 

 

 

 

1/1/2013

12:00:00.000

no

 

Input to GetTagGroupCurValue :

TagGroup = TG1

DBnPnts =

Results

 

curTagType

cmsg

workOrder

description

expected Removal Date

operator Cmd Override

 

 

wo1

 

1/1/2013

12:00:00.000

no

 

Input to GetTagGroupCurValue :

TagGroup = TG1

DBnPnts = ana1/analog

Results

 

curTagType

cmsg

workOrder

description

expected Removal Date

operator Cmd Override

warn

 

wo1

ana1_warn

1/1/2013

12:00:00.000

no

 

Input to GetTagGroupCurValue :

TagGroup = TG1

DBnPnts = ana1/analog*ana2/analog

Results

 

curTagType

cmsg

workOrder

description

expected Removal Date

operator Cmd Override

 

 

wo1

 

1/1/2013

12:00:00.000

no

 

In This Topic