Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.Implementation CogSerializableChangedEventBase
Cognex.VisionPro.QuickBuild.IO CogIODevice
Cognex.VisionPro.QuickBuild.IO CogIODiscreteDevice
Cognex.VisionPro.QuickBuild.Implementation.Internal CogIOFrameGrabber
Cognex.VisionPro.QuickBuild.Implementation.Internal CogIO8504
Namespace: Cognex.VisionPro.QuickBuild.Implementation.Internal
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 75.1.0.0 (75.1.0.0)
Syntax
The CogIO8504 type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogIO8504(SerializationInfo, StreamingContext) |
Serialization constructor.
| |
| CogIO8504(String, Int32) |
Construct CogIO8504 object.
| |
| CogIO8504(String, Int32, String) |
Methods
| Name | Description | |
|---|---|---|
| CanBeStrobeLine | (Inherited from CogIOFrameGrabber.) | |
| CanBeTriggerLine | (Inherited from CogIOFrameGrabber.) | |
| Close | (Inherited from CogIOFrameGrabber.) | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| EnableLine(Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| EnableLine(Int32, Boolean, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| Equals | (Inherited from Object.) | |
| GetBiDirectionalLineCount | (Inherited from CogIOFrameGrabber.) | |
| GetCogInputLine | (Inherited from CogIOFrameGrabber.) | |
| GetCogOutputLine | (Inherited from CogIOFrameGrabber.) | |
| GetCurrentActivityCount |
Cognex internal use only
(Inherited from CogIODiscreteDevice.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetInputLineCount | (Inherited from CogIOFrameGrabber.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetLineAlias(Int32) | (Inherited from CogIOFrameGrabber.) | |
| GetLineAlias(Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| GetLinePolarity(Int32) | (Inherited from CogIOFrameGrabber.) | |
| GetLinePolarity(Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| GetLinePulseWidth(Int32) | (Inherited from CogIOFrameGrabber.) | |
| GetLinePulseWidth(Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| GetLineStatus(Int32) | (Inherited from CogIOFrameGrabber.) | |
| GetLineStatus(Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| GetOutputLineCount | (Inherited from CogIOFrameGrabber.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue(Int32) |
Returns the current line value. Don't call this function when the
frame grabber type is 8600. Lines are not thread-safe. You must
make sure that your code using this method is thread-safe.
(Inherited from CogIOFrameGrabber.) | |
| GetValue(Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| IsInputAsserted | (Inherited from CogIOFrameGrabber.) | |
| Open | (Overrides CogIOFrameGrabber Open .) | |
| ResetAllWriteActivityCounter |
Cognex internal use only
(Inherited from CogIODiscreteDevice.) | |
| ResumeAndRaiseChangedEvent |
Re-enables raising of the Changed event after SuspendChangedEvent
has been called, and raises the Changed event if the
ChangedEventSuspended count is reduced to zero and any changes were
made while events were suspended. Must be called once for each call to
SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.) | |
| SetInputLine | (Inherited from CogIOFrameGrabber.) | |
| SetLineAlias(Int32, String) | (Inherited from CogIOFrameGrabber.) | |
| SetLineAlias(Int32, String, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| SetLinePolarity(Int32, CogIOLinePolarity) | (Inherited from CogIOFrameGrabber.) | |
| SetLinePolarity(Int32, CogIOLinePolarity, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| SetLinePulseWidth(Int32, Int32) | (Inherited from CogIOFrameGrabber.) | |
| SetLinePulseWidth(Int32, Int32, Boolean) | (Inherited from CogIOFrameGrabber.) | |
| SetOutputLine | (Inherited from CogIOFrameGrabber.) | |
| SetValue |
Output lines are not thread-safe. You must make sure that your
code using this method is thread-safe.
(Inherited from CogIOFrameGrabber.) | |
| SuspendChangedEvent |
Temporarily suspends the raising of the Changed event. May be called
more than once, and a corresponding call to ResumeAndRaiseChangedEvent
must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.) | |
| ToString | (Inherited from Object.) | |
| Write |
Output lines are not thread-safe. You must make sure that
your code using this method is thread-safe.
(Inherited from CogIOFrameGrabber.) | |
| WriteSyncPulse |
Output lines are not thread-safe. You must make sure that your
code using this method is thread-safe.
(Inherited from CogIOFrameGrabber.) |
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
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.) | |
| DeviceIndex |
Return the index number of CogIODevice object.
(Inherited from CogIODiscreteDevice.) | |
| DeviceName |
Return the name that characterizes the instance of CogIODevice object.
(Inherited from CogIODevice.) | |
| Enabled | (Inherited from CogIODiscreteDevice.) | |
| GetStartingIOLine |
Returns the starting I/O line
8501, 8504e and 8504 start from 0
8500Le starts from 8
(Inherited from CogIOFrameGrabber.) | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| InputDelegate | (Inherited from CogIODiscreteDevice.) | |
| IOConfig | (Overrides CogIOFrameGrabber IOConfig.) | |
| IsDeviceOpen | (Inherited from CogIOFrameGrabber.) | |
| MonitorInputs | (Inherited from CogIOFrameGrabber.) | |
| StateFlags |
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.) |
Events
| Name | Description | |
|---|---|---|
| Changed |
This event is raised when one or more parts of the object's state may
have changed.
(Inherited from CogSerializableChangedEventBase.) | |
| IOLineChanged |
Cognex internal use only
(Inherited from CogIODiscreteDevice.) |
See Also