--- title: "system.dnp.freezeAtTimeCounters" description: "Issues a Freeze at Time command targeting one or more counters." --- # system.dnp.freezeAtTimeCounters > Issues a Freeze at Time command targeting one or more counters. :::note The following function uses [system.dnp](appendix\scripting-functions\system-dnp\system-dnp.md) and the [DNP3 driver](ignition-modules\opc-ua\opc-ua-drivers\dnp3\dnp3-driver\dnp3-driver.md). For [system.dnp3](appendix\scripting-functions\system-dnp3\system-dnp3.md) functions and the [Legacy DNP3 driver](ignition-modules\opc-ua\opc-ua-drivers\dnp3\legacy-dnp3-driver\legacy-dnp3-driver.md), see [DNP3](ignition-modules\opc-ua\opc-ua-drivers\dnp3\dnp3.md). ::: This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) 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 ```python title="Code Snippet" from time import * fiveMikes = (60 * 1000 * 5) + int(time() * 1000) system.dnp.freezeAtTimeCounters("DNP3", fiveMikes, 0, [2, 4]) ```