Open the device. Each CogIOMCB object may be associated
with one actual MeasurementComputing PCI-DIO24/S board.
Calling this method causes the underlying hardware connection
to be established and the hardware to be initialized. Upon
successfully calling this method, the IsDeviceOpen property
will be true.
Namespace: Cognex.VisionPro.QuickBuild.IOAssembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 80.0.0.0 (80.0.0.0)
Syntax
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the device is successfully opened. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogIOMCB object has already been disposed. |
| InvalidOperationException | If a CogIOMCB device with this index is already open. |
| Exception | If the "Measurement Computing" section of the VisionPro.ini configuration file cannot be located. |
| FileNotFoundException | If the Measurement Computing MccDaq.dll fails to load. |
| Exception | If a valid board with the specified index is not created. |
See Also