CogNdm NewUserData EventCognex VisionPro 9.24
The NDM raises the NewUserData event to tell the vision system that new user data has arrived from the remote device.

Handle this event and call ReadUserData(Int32, Int32) to read the new user data.

Note that changes to the user data present on the remote device cannot be read until the remote device signals the vision system that new user data is available by sending a "Set User Data" signal.

The remote device can send separate "Set User Data" signals for each user data channel. Use the ChannelIndex property of the event args to determine which "Set User Data" signal was received.

Upon returning from the event handler, the remote device is automatically notified by sending the “Set User Data Ack” signal.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 91.0.0.0
Syntax

public virtual event CogNdmNewUserDataEventHandler NewUserData

Value

Type: Cognex.VisionPro.Comm CogNdmNewUserDataEventHandler
See Also