CogPrioState MethodsCognex VisionPro

The CogPrioState type exposes the following members.

Methods

  NameDescription
Public methodBank
Returns the values all lines in an i/o bank as an integer value.

Note: Once a state object is read/created its contained values do not change. To get the current values you must call ReadState() again.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
Public methodLine
Returns the line value of the user supplied line at the moment the state was read.

Note: Once a state object is read/created its contained values do not change. To get the current values you must call ReadState() again.

Public methodTimeDifference
Returns the time difference between this state and some other state states in milliseconds (otherState - thisState).
Public methodToString (Overrides Object ToString .)
Top
See Also