A blocking function that returns once Vision has finished initializing.
Initialization is started by calling Initialize.
Namespace: Cognex.VisionAssembly: Cognex.Vision.Startup.Net (in Cognex.Vision.Startup.Net.dll) Version: 9.22.2.0
Syntax
Parameters
- type
- Type: Cognex.Vision StartupWaitType
Specifies the method used for waiting.
- timeout
- Type: System UInt32
A timeout that applies when the type is specified as Timeout. When the timeout expires, this function will return.
Return Value
Type: BooleanTrue if Vision finished initializing, otherwise false.
Exceptions
| Exception | Condition |
|---|---|
| SecurityViolationException | Thrown if the internal wait mode failed to initialize or this function failed to wait for security initialization to finish. |
See Also