Forces the database to write a value to a tag and act as if it were a tag change even if the new value is equal to the old value.

Function Group Execution Windows Embedded Thin Client
ForceTagChange Tags Database Synchronous Supported Supported Supported


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

Returned value

This function does not return any value.


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