system.historian.storeAnnotations
This function is used in Python Scripting.
Description​
Store a list of annotations to the specified Historian.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax #1​
system.historian.storeAnnotations(annotations)
Parameters​
Type | Parameter | Description |
---|---|---|
List | annotations | A list of annotations. |
Returns​
A list of qualified values. The quality code will indicate success or failure. See Scripting Object Reference.
Scope​
Gateway, Vision Client, Perspective Session
Syntax #2​
system.historian.storeAnnotations(paths, startTimes[, endTimes][, types][, data][, storageIds][, deleted])
Parameters​
Type | Parameter | Description |
---|---|---|
List | paths | A list of historical paths. |
List | startTimes | A list of start times associated with the annotation. |
List | endTimes | A list of end times associated with the annotation. [optional] |
List | types | A list of string types that indicate the annotation type. [optional] |
List | data | A list of annotation data. [optional] |
List | storageIds | A list of annotation storage IDs to indicate that the annotation should be updated. [optional] |
List | deleted | A list of deleted flags to indicate whether the annotation should be marked deleted. [optional] |
Returns​
A list of qualified values. The quality code will indicate success or failure. See Scripting Object Reference.
Scope​
Gateway, Vision Client, Perspective Session