CogDLRuntime PropertiesCognex VisionPro 9.25 SR1

The CogDLRuntime type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.)
Public propertyFileName
The name of the workspace file. May not be empty or null. Changing this value when State is Open will automatically call Close().
Public propertyGPUAffinity
The desired GPU index for the current workspace. This zero-based device index may not be the same as the CUDA ID. The specified GPU will be used for every ViDi tool in every stream in the current workspace. Since the underlying VPDL library supports at most 4 GPUs, the maximum legal value for this parameter is 3. The special value -1 means let the VPDL library automatically choose the GPU.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertySelectedStreamName
The name of the stream to be processed.
Public propertyState
The current state of this operator. Possible values include Closed, Open, or Partial.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyStreams
The collection of streams in the currently open workspace. If no workspace is open this collection will be empty.
Top
See Also