Skip to main content
Version: 8.1

system.dnp.directOperateAnalog

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​

Performs a Direct Operate command on an analog point.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.dnp.directOperateAnalog(deviceName, variation, index, value)

Parameters​

TypeParameterDescription
StringdeviceNameThe name of the DNP3 device instance.
IntegervariationThe Group 41 variation to use during the operation.
IntegerindexThe index of the analog point.
NumericvalueThe requested value.

Returns​

Nothing.

Scope​

Gateway

Code Examples​

Code Snippet
system.dnp.directOperateAnalog("DNP3", 1, 0, 3.14)