system.device.restart
This function is used in Python Scripting.
Descriptionβ
Restarts the named device connection.
Client Permission Restrictionsβ
Permission Type: Device 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.device.restart(deviceName)
Parametersβ
| Type | Parameter | Description |
|---|---|---|
| String | deviceName | The name of the device connection to restart. The function will throw an error if the specified deviceName does not exist on the host gateway. |
Returnsβ
Nothing
Scopeβ
Gateway, Vision Client, Perspective Session
Code Examplesβ
Code Snippet
system.device.restart("my_device")