ToolPin CanLink Method Cognex VisionPro 9.10

Determines if two pins can be linked.

Namespace: Cognex.Vision.Implementation
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public bool CanLink(
	ToolPin pin
)

Return Value

Type: Boolean

True if the this pin can be linked to pin, otherwise false.

Remarks

To be linkable two pins must:

  • Be within the same ToolBlock scope determined by their owner
  • Have compatible directionality (one pin must be a valid link source and the other must be a valid link destination)
  • Be of compatible types (Image to Image, double to double, etc...)

See Also