Startup WaitForInitDone Method Cognex VisionPro 9.22
A blocking function that returns once Vision has finished initializing. Initialization is started by calling Initialize.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Startup.Net (in Cognex.Vision.Startup.Net.dll) Version: 9.22.2.0
Syntax

public static bool WaitForInitDone(
	StartupWaitType type,
	uint timeout
)

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: Boolean
True if Vision finished initializing, otherwise false.
Exceptions

ExceptionCondition
SecurityViolationException Thrown if the internal wait mode failed to initialize or this function failed to wait for security initialization to finish.
See Also