system.dnp.freezeClearCounters
note
The following function uses system.dnp and the DNP3 driver. For system.dnp3 functions and the Legacy DNP3 driver, see DNP3.
This function is used in Python Scripting.
Description​
Issues a Freeze and Clear command targeting one or more counters.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.dnp.freezeClearCounters(deviceName, indexes)
Parameters​
| Type | Parameter | Description |
|---|---|---|
| String | deviceName | The name of the DNP3 device instance. |
| List | indexes | The indices of the counters to freeze. |
Returns​
Nothing.
Scope​
Gateway
Code Examples​
Code Snippet
system.dnp.freezeClearCounters("DNP3", [1, 3, 5])