Skip to main content
Version: 8.1

system.dnp.freezeAtTimeAnalogs

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 analog points.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.dnp.freezeAtTimeAnalogs(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 analog points to freeze.

Returns​

Nothing.

Scope​

Gateway

Code Examples​

Code Snippet
from time import *

fiveMikes = (60 * 1000 * 5) + int(time() * 1000)
system.dnp.freezeAtTimeAnalogs("DNP3", fiveMikes, 0, [2, 4])

Keywords​

system dnp freezeAtTimeAnalogs, dnp.freezeAtTimeAnalogs