MotionDeviceAccessAddControlUpdated Method |
Add a handler for the ControlUpdated event.
Namespace: Demo3D.PLC.Comms.CIP.Nodes.MotionAssembly: PLC (in PLC.dll) Version: 19.00.00
Syntaxpublic void AddControlUpdated(
Action<UpdateFlags> handler,
CallbackContext callbackContext
)
Parameters
- handler ActionUpdateFlags
- Handler for ControlUpdated events to add.
- callbackContext CallbackContext
- Defines the context in which the callback should be called.
Remarks
If callbackContext is CallerContext then handler is Demo3D thread safe.
It's called in the same thread (synchronization context) as the caller to this method.
See Also