Close the device. This releases the underlying hardware, making
it available for use later or by another thread. In general,
only call this when you are finished using the device, such as
when your application is about to exit.
Namespace: Cognex.VisionPro.QuickBuild.IOAssembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the device is closed. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogIOMCB object has already been disposed. |
| InvalidOperationException | If IsDeviceOpen is false. |
See Also