--- title: "system.dnp3.freezeAnalogsAtTime" description: "Issues a freeze command on the given analog outputs at the given time for the specified duration." --- # system.dnp3.freezeAnalogsAtTime > Issues a freeze command on the given analog outputs at the given time for the specified duration. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions [Permission Type](projects/project-properties/project-properties.md#client---permissions): DNP3 Management Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope. ## Syntax `system.dnp3.freezeAnalogsAtTime(deviceName, absoluteTime, intervalTime, indexes)` ### Parameters | Type | Parameter | Description | |---|---|---| | String | `deviceName` | The name of the DNP3 device driver.| | Integer | `absoluteTime` | The absolute time at which to freeze, in millis. | | Integer | `intervalTime` | The interval at which to periodically freeze, in millis. | | List | `indexes` | A list of specific indexes on which to issue the freeze command. An empty list will freeze all analogs. | ### Returns Nothing ### Scope All ## Code Examples ```python title="Example #1" # This example shows a request to freeze analog inputs at indexes 2 and 4, # 5 minutes from the current time, with no interval. from time import * fiveMikes = (60 * 1000 * 5) + int(time() * 1000) #ms system.dnp3.freezeAnalogsAtTime("Dnp3", fiveMikes, 0, [2, 4]) ```