system.device.addDevice( deviceType, deviceName, deviceProps, [description] )
String deviceType - The device driver type. Possible values are listed in the Device Types table below.
String deviceName - The name that will be given to the new device connection.
Dictionary[String, Any] deviceProps - A dictionary of device connection properties and values. Each deviceType has different properties, but most require at least a hostname. Keys in the dictionary are case-insensitive, spaces are omitted, and the names of the properties that appear when manually creating a device connection.
The following feature is new in Ignition version 8.1.10
to check out the other new features
String description - The description that will be given to the new device connection. [optional]
Gateway, Vision Client, Perspective Session