ForceTagChange

Forces the database to write a value to a tag and trigger events as if the tag changed, even if the new value is equal to the old value.

Function Group Execution Windows Embedded Thin Client Mobile Access
ForceTagChange Tags Database Synchronous Supported Supported Supported Not supported

Syntax

  ForceTagChange( "strTagName", numValue )  
strTagName
The name of the tag being forced to accept the new value.
Note: The tag name should be enclosed in quotes, as shown in the syntax diagram, or else the function will try to use the value of the tag.
numValue
The new value to be written to the specified tag.

Returned value

This function does not return any value.

Examples

Tag Name Expression
n/a ForceTagChange( “TagA”, 5 )

ForceTagChange