Skip to main content
Version: 8.1

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

TypeParameterDescription
StringdeviceNameThe name of the DNP3 device instance.
LongabsoluteTimeAbsolute time (in milliseconds since epoch UTC) when the initial action should occur.
LongintervalTimeInterval time (in milliseconds) between periodic actions.
ListindexesThe 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])

Keywords

system dnp freezeAtTimeCounters, dnp.freezeAtTimeCounters