ICogFrameGrabber Disconnect Method Cognex VisionPro 9.8 SR1
Breaks the connection between this software object and the hardware and cleans up the internal software objects. This function should be called whenever something has caused the state of the hardware to get out of sync wit the software state (i.e. power is temporarily lost to a camera). It should also be called prior to exiting the application.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax

void Disconnect(
	bool AllowRecovery
)

Parameters

AllowRecovery
Type: System Boolean
Determines whether the connection to hardware can be re-established. It should always be set to true unless it is being called just prior to program termination.
See Also