Disable or enable device by scripting

Is there any way to enable or disable a device in the gateway based on scripting?

Thank you!

Alicia

Assuming you are talking about a device in Ignition's OPC-UA Server, you can use the IA Scripting Module to do this:

You can download the module for free from the Module Marketplace and you can find out more about the available functions in the forum post about it.