CogIOFrameGrabber ClassCognex VisionPro 9.22 SR1
Base class for all Cognex frame grabber's discrete I/O.
Inheritance Hierarchy

System Object
  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 CogIO8500Le
                Cognex.VisionPro.QuickBuild.Implementation.Internal CogIO8501
                Cognex.VisionPro.QuickBuild.Implementation.Internal CogIO8504
                Cognex.VisionPro.QuickBuild.Implementation.Internal CogIO8600

Namespace: Cognex.VisionPro.QuickBuild.Implementation.Internal
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax

[SerializableAttribute]
public abstract class CogIOFrameGrabber : CogIODiscreteDevice

The CogIOFrameGrabber type exposes the following members.

Constructors

  NameDescription
Protected methodCogIOFrameGrabber(SerializationInfo, StreamingContext)
Public methodCogIOFrameGrabber(String, String, Int32)
Top
Methods

  NameDescription
Public methodCanBeStrobeLine
Public methodCanBeTriggerLine
Public methodClose
(Overrides CogIODevice Close .)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEnableLine(Int32, Boolean)
Public methodEnableLine(Int32, Boolean, Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetBiDirectionalLineCount
Protected methodGetCallDelegate (Overrides CogIODiscreteDevice GetCallDelegate(Int32).)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetCogInputLine
Public methodGetCogOutputLine
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetCurrentActivityCount
Cognex internal use only
(Inherited from CogIODiscreteDevice.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetInputDelegate (Overrides CogIODiscreteDevice GetInputDelegate(Int32).)
Public methodGetInputLineCount
Public methodStatic memberGetIOConfigFromVisionProINI
Public methodStatic memberGetIOConfigTypeFromString
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetLineAlias(Int32)
Public methodGetLineAlias(Int32, Boolean)
Public methodGetLinePolarity(Int32)
Public methodGetLinePolarity(Int32, Boolean)
(Overrides CogIODiscreteDevice GetLinePolarity(Int32, Boolean).)
Public methodGetLinePulseWidth(Int32)
Public methodGetLinePulseWidth(Int32, Boolean)
Public methodGetLineStatus(Int32)
Public methodGetLineStatus(Int32, Boolean)
Protected methodGetObjectData
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.)
Public methodGetOutputLineCount
Protected methodStatic memberGetPrivateProfileString
Utility for reading VisionPro.ini file.
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodStatic memberGetStringFromIOConfigType
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(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.
Public methodGetValue(Int32, Boolean)
Protected methodInitializeInputLine
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodInitializeOutputLine
Public methodIsInputAsserted (Overrides CogIODiscreteDevice IsInputAsserted(Int32).)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.)
Public methodOpen
(Overrides CogIODevice Open .)
Public methodResetAllWriteActivityCounter
Cognex internal use only
(Inherited from CogIODiscreteDevice.)
Public methodResumeAndRaiseChangedEvent
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.)
Protected methodSetCallDelegate (Overrides CogIODiscreteDevice SetCallDelegate(Int32, Boolean).)
Protected methodSetInputDelegate (Overrides CogIODiscreteDevice SetInputDelegate(Int32, CogIODiscreteDevice InputDelegateFn).)
Public methodSetInputLine
Public methodSetLineAlias(Int32, String)
Public methodSetLineAlias(Int32, String, Boolean)
Public methodSetLinePolarity(Int32, CogIOLinePolarity)
Public methodSetLinePolarity(Int32, CogIOLinePolarity, Boolean)
(Overrides CogIODiscreteDevice SetLinePolarity(Int32, CogIOLinePolarity, Boolean).)
Public methodSetLinePulseWidth(Int32, Int32)
Public methodSetLinePulseWidth(Int32, Int32, Boolean)
Public methodSetOutputLine
Public methodSetValue
Output lines are not thread-safe. You must make sure that your code using this method is thread-safe.
(Overrides CogIODiscreteDevice SetValue(Int32, Boolean).)
Public methodSuspendChangedEvent
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.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWrite
Output lines are not thread-safe. You must make sure that your code using this method is thread-safe.
(Overrides CogIODevice Write(CogIOOutputData).)
Public methodWriteSyncPulse
Output lines are not thread-safe. You must make sure that your code using this method is thread-safe.
(Overrides CogIODiscreteDevice WriteSyncPulse(Int32).)
Top
Fields

  NameDescription
Protected fieldbiDirectionalLineCount
Protected fieldbiDirectionalLines
Protected fieldinputLineCount
Protected fieldinputLines
Protected fieldoutputLineCount
Protected fieldoutputLines
Public fieldStatic memberSfBiDirectionalLineCount
Public fieldStatic memberSfBiDirectionalLines
Public fieldStatic memberSfInputLineCount
Public fieldStatic memberSfInputLines
Public fieldStatic memberSfIOConfig
Protected fieldStatic memberSfNextSf
Public fieldStatic memberSfOutputLineCount
Public fieldStatic memberSfOutputLines
Protected fieldwriteActivityCounter (Inherited from CogIODiscreteDevice.)
Top
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 propertyDeviceIndex
Return the index number of CogIODevice object.
(Inherited from CogIODiscreteDevice.)
Public propertyDeviceName
Return the name that characterizes the instance of CogIODevice object.
(Inherited from CogIODevice.)
Public propertyEnabled (Inherited from CogIODiscreteDevice.)
Public propertyGetStartingIOLine
Returns the starting I/O line 8501, 8504e and 8504 start from 0 8500Le starts from 8
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyInputDelegate (Inherited from CogIODiscreteDevice.)
Public propertyIOConfig
Getter and setter for I/O configuration.
Public propertyIsDeviceOpen
(Overrides CogIODevice IsDeviceOpen.)
Public propertyMonitorInputs (Overrides CogIODiscreteDevice MonitorInputs.)
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.)
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Public eventIOLineChanged
Cognex internal use only
(Inherited from CogIODiscreteDevice.)
Top
See Also