The NDM raises the NewUserData event to tell the vision system
that new user data has arrived from the remote device.
Namespace: Cognex.VisionPro.CommHandle 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.
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 87.0.0.0
Syntax
Value
Type: Cognex.VisionPro.Comm CogNdmNewUserDataEventHandlerSee Also