public interface IALabsDeviceFunctions
Modifier and Type | Method and Description |
---|---|
void |
addDevice(org.python.core.PyObject[] pyArgs,
java.lang.String[] keywords)
Adds a new device to Ignition OPC-UA
|
java.lang.String |
getDeviceHostname(java.lang.String deviceName)
Gets a device's hostname in Ignition OPC-UA
|
Dataset |
listDevices()
Lists all devices in Ignition OPC-UA.
|
void |
refreshBrowse(java.lang.String deviceName)
Refreshes a device's tag cache.
|
void |
removeDevice(java.lang.String deviceName)
Removes a device in Ignition OPC-UA with a specific name.
|
void |
setDeviceEnabled(java.lang.String deviceName,
boolean enabled)
Enables/disables a device in Ignition OPC-UA with a specific name
|
void |
setDeviceHostname(java.lang.String deviceName,
java.lang.String hostname)
Changes a device's hostname in Ignition OPC-UA with a specific name
|
Dataset listDevices() throws java.lang.Exception
java.lang.Exception
void addDevice(org.python.core.PyObject[] pyArgs, java.lang.String[] keywords) throws java.lang.Exception
pyArgs
- keywords
- java.lang.Exception
void removeDevice(java.lang.String deviceName) throws java.lang.Exception
deviceName
- The name of the device in Ignitionjava.lang.Exception
void setDeviceEnabled(java.lang.String deviceName, boolean enabled) throws java.lang.Exception
deviceName
- The name of the device in Ignitionenabled
- java.lang.Exception
void setDeviceHostname(java.lang.String deviceName, java.lang.String hostname) throws java.lang.Exception
deviceName
- The name of the device in Ignitionhostname
- The hostname to set the device tojava.lang.Exception
java.lang.String getDeviceHostname(java.lang.String deviceName) throws java.lang.Exception
deviceName
- The name of the device in Ignitionjava.lang.Exception
- Thrown if the settings table doesn't exist, or if there is no "hostname" columnvoid refreshBrowse(java.lang.String deviceName) throws java.lang.Exception
deviceName
- The name of the device in Ignitionjava.lang.Exception