system.dnp.freezeAtTimeCounters
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 at Time command targeting one or more counters.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.dnp.freezeAtTimeCounters(deviceName, absoluteTime, intervalTime, indexes)
Parameters​
Type | Parameter | Description |
---|---|---|
String | deviceName | The name of the DNP3 device instance. |
Long | absoluteTime | Absolute time (in milliseconds since epoch UTC) when the initial action should occur. |
Long | intervalTime | Interval time (in milliseconds) between periodic actions. |
List | indexes | The indices of the counters to freeze. |
Returns​
Nothing.
Scope​
Gateway
Code Examples​
Code Snippet
from time import *
fiveMikes = (60 * 1000 * 5) + int(time() * 1000)
system.dnp.freezeAtTimeCounters("DNP3", fiveMikes, 0, [2, 4])