CogPrioImpl MethodsCognex VisionPro 9.24

The CogPrioImpl type exposes the following members.

Methods

  NameDescription
Public methodAddEvent
Registers a precision I/O event ID number to monitor an input or output line for a particular transition.

The registered I/O event is raised whenever the configured I/O line transition occurs.

Once an event is added it can be used as an argument to ConfigureOutputLineResponse(CogPrioBankConstants, Int32, Int32, CogPrioOutputLineValueConstants, CogPrioDelayTypeConstants, Double, Double) to set up automatic I/O responses that automatically occur in reaction the event firing.

The user can also manually schedule a configured event to occur at an exact time stamp or encoder count using ScheduleIOEvent(Int32, CogPrioImplEventScheduleTypeConstants, Int64, Int32, Int32 , CogPrioState ).

Additionally the user can receive notifications whenever a configured event occurs using HostNotification.

Public methodCancelScheduledEvent
Public methodClearOutputLineResponse
Clears all usages of the given output line from the event system.
Public methodConfigureOutputLineResponse
Configures an output line to react to a registered I/O event in a specific way.
Public methodDisableEvents
Disables all the configured events from firing. Events can be disabled during configuration, and re-enabled when configuration is complete.
Public methodDisableHostNotificationForIOEvent
Disables the HostNotification .NET Event for the configured precision I/O comm card event. The host PC will _NOT_ be interrupted/notified when the precision I/O event occurs on the comm card.
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEnableEvents
Enables the configured events.
Public methodEnableHostNotificationForIOEvent
Enables the HostNotification .NET Event for the configured precision I/O comm card event. The host PC will be interrupted/notified when the precision I/O event occurs on the comm card.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object Finalize .)
Public methodGetClockFrequency
Gets the clock frequency. Use this value to convert clock ticks to wall clock time.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadState
Gets the current state of the precision I/O hardware.
Public methodRemoveEvent
Removes the previously configured event for a particular I/O line transition.
Public methodRemoveEventFromAll
Completely removes an event from the set of configured precision I/O events.
Public methodReset
Resets the entire precision I/O system to the default state.
Public methodScheduleIOEvent
Manually schedules an I/O event to occur.
Public methodSetDebounceDuration
Sets the debounce duration for all input lines to the specified number of milliseconds.
Public methodSetEncoderCount
Sets the encoder count to the specified value.
Public methodSetOutput
Sets an output line without having to schedule an event.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also