This function is used in Python Scripting.

Description

Removes a given device from Ignition.

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.removeDevice(deviceName)

  • Parameters

String deviceName - The name of the device in Ignition.

  • Returns

Nothing

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet - Removing a Device from the Gateway
# Example:
system.device.removeDevice("CLX")
Keywords

system device removeDevice, device.removeDevice