CogDLRuntime Open Method Cognex VisionPro 9.22
Attempt to open the runtime workspace file specified by FileName.

Namespace: Cognex.VisionPro.DLRuntime
Assembly: Cognex.VisionPro.DLRuntime (in Cognex.VisionPro.DLRuntime.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public void Open()
Events

Event TypeReason
ICogChangedEvent Changed Fires when a runtime workspace file is successfully opened and incorporated. The following state flags may be affected:
  • SfState
Exceptions

ExceptionCondition
ArgumentException If the runtime workspace file is not found.
ArgumentException If the runtime workspace file is not successfully read into memory.
ArgumentException If the runtime workspace object's structure does not match a previously deserialized or copied parameter structure.
ArgumentException If an error occurs in transcribing previously deserialized or copied parameters into a just-loaded workspace object.
See Also