Enable or disable an object
- Last UpdatedJul 23, 2024
- 1 minute read
Similar to how the Communication Driver itself can be activated or deactivated, objects in a Communication Driver configuration can be enabled and disabled.
Rules for enabling and disabling objects:
-
Objects in a Communication Driver configuration can be enabled and disabled when the Communication Driver is active or inactive. The default state of an object is enabled.
-
You cannot disable the Communication Driver and Configuration nodes, or the nodes between them. However, objects that represent busses, ports, or bridges can be disabled.
-
System items remain valid for disabled objects. All other items have "Out-of Service" quality updated to the client. No messages are sent to the device represented by a disabled object. Write transactions for a disabled object fail immediately with a bad HRESULT.
-
Disabling an object also disables all of its child objects. The tree pane does not show child objects as disabled. When you enable an object, all of its child objects are enabled, except those objects that you explicitly disabled. Explicitly disabled child objects remain disabled until you enable them.
Enable or disable an object configuration
-
In the OI Server Manager, navigate to the Configuration node.
-
Expand the Operations Integration Server Manager node, expand the node group, and then expand Local.
-
Expand the Communication Driver, and then expand its Configuration node.
-
-
To enable/disable an object:
-
To enable: Right-click the object and then select Enable.
-
To disable: Right-click the object and then select Disable.
The object's icon shows the change in the object's state: an enabled object shows a check mark (✓), and a disabled object shows a cross mark (X).
-