Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edits/style


Scripting_function



Panel
titleDescription

Issues a freeze command on the given counters.


Panel
titleClient Permission Restrictions

Permission Type: DNP3 Management

Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.


Panel
titleSyntax

system.dnp3.freezeCounters(deviceName, [indexes])

  • Parameters

String deviceName - The name of the DNP3 device driver.

List indexes - A list of specific indexes on which to issue the freeze command. An empty list can be passed to freeze all counters. [optional]

  • Returns

Nothing

  • Scope

Gateway, Vision Client, Perspective Session



panel
Panel
titleCode Examples


Code Block
languagepy
titleCode Snippet
# This example shows a request to freeze all counters in the outstation.
system.dnp3.freezeCounters("Dnp3", [])


Code Block
languagepy
titleCode Snippet
# This example shows a request to freeze counters at indexes 1, 3, and 5.
system.dnp3.freezCounters("Dnp3", [1, 3, 5])



Panel
titleKeywords

system dnp3 freezeCounters, dnp3.freezeCounters