We are connecting to a device using TCP driver on a port. We need to close this connection after completion of process, so another gateway can connect to this device on same port.
Is it possible to enable/disable device connection using scripting?.
1 Like
system.device.setDeviceEnabled(deviceName, enabled)
1 Like
Sure: https://docs.inductiveautomation.com/display/DOC80/system.device.setDeviceEnabled
edit: Jae wins!
Thank you @jpark @Kevin.Herron for your quick reply