Skip to main content
Version: 8.3 Beta 🚧

system.historian.browse

This function is used in Python Scripting.

Description​

Returns a list of browse results for the specified Historian.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax #1​

system.historian.browse(rootPath, BrowseFilter)

Parameters​

TypeParameterDescription
StringrootPathThe root path to start browsing from.
Dictionary[String, Any]browseFilterA dictionary of browse filter keys. Keys are listed below.

Filter Keys​

The following keys represent filter criteria that can be used by the browseFilter parameter.

  • dataType: Represents the data type on the tag. Valid values can be found on the Tag Properties page.
  • valueSource: Represents how the node derives its value. Generally only used by nodes with a tag type of "AtomicTag".
  • tagType: The type of the node (tag, folder, UDT instance, etc). A list of possible types can be found on the Tag Properties page.
  • typeId: Represents the UDT type of the node. If the node is a UDT definition, then the value will be None. If the node is not a UDT, then this filter choice will not remove the element. As such, this filter functions best when paired with a tagType filter with a value of UdtInstance.
  • quality: Represents the "Bad" and "Good" quality on the node. All other quality codes are ignored.
  • maxResults: Limits the amount of results that will be returned by the function.

Returns​

Results - A Results object that contains a list of browse results.

Scope​

Gateway, Vision Client, Perspective Session

Syntax #2​

system.historian.browse(rootPath[, snapshotTime][, nameFilters][, maxSize][, recursive][, continuationPoint][, includeMetadata])

Parameters​

TypeParameterDescription
StringrootPathThe root path to start browsing from.
DatesnapshotTimeThe snapshot time to browse at. [optional]
ListnameFiltersA list of name filters to apply to the browse results. [optional]
IntegermaxSizeThe maximum number of results to return. [optional]
BooleanrecursiveWhether to browse recursively. Accepted values are True and False. False is the default, meaning that the browse will only return data directly inside the root path. [optional]
StringcontinuationPointThe continuation point to continue browsing from. [optional]
BooleanincludeMetadataWhether to include metadata in the browse results. [optional]

Returns​

Results - A Results object that contains a list of browse results.

Scope​

Gateway, Vision Client, Perspective Session