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

AVEVA™ Historian

InsertValue

  • Last UpdatedNov 17, 2021
  • 1 minute read

The InsertValue method inserts a value for a manual tag.

Syntax

[Result=] aaHistClientSingleValueEntry.InsertValue(message tagName, object tagValue, [object dTime], [integer quality], [integer qualityDetail]);

Parameters

tagName

The tag for which the value is inserted.

tagValue

The value to insert.

dTime

The timestamp for the data value. If this parameter is not specified, the current date and time is used. You can use a message value for this parameter in an acceptable date/time format.

quality

The quality value to use.

qualityDetail

The quality detail to use.

Return Value

For a description of return values, see the LastOperationResult property.

Remarks

This method attempts to insert the specified value for the specified tag on the current server, regardless of the user interface settings. Likewise, the current settings for the user interface have no effect on the calling of this method.

If this method returns False, use the LastErrorMessage and LastErrorDetails properties to determine the cause of the failure.

TitleResults for “How to create a CRG?”Also Available in