Skip to main content
Version: 7.9

system.dnp3.freezeCounters

This function is used in Python Scripting.

Description​

Issues a freeze command on the given counters.

Client 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.

Syntax​

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

Parameters​

TypeParameterDescription
StringdeviceNameThe name of the DNP3 device driver.
ListindexesAn optional list of specific indexes on which to issue the freeze command.

Returns​

Nothing

Scope​

All

Code Examples​

Example #1
# This example shows a request to freeze all counters in the outstation.
system.dnp3.freezeCounters("Dnp3")
Example #2
# This example shows a request to freeze counters at indexes 1, 3, and 5.
system.dnp3.freezeCounters("Dnp3", [1, 3, 5])