Note: Once a state object is read/created its contained values do not change. To get the current values you must call ReadState() again.
Cognex.VisionPro.Comm CogPrioState
Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 80.0.0.0 (80.0.0.0)
The CogPrioState type exposes the following members.
| Name | Description | |
|---|---|---|
| CogPrioState |
Construt a CogPrioState
|
| Name | Description | |
|---|---|---|
| Bank |
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. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Line |
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. | |
| TimeDifference |
Returns the time difference between this state and some
other state states in milliseconds (otherState - thisState).
| |
| ToString | (Overrides Object ToString .) |
| Name | Description | |
|---|---|---|
| EncoderCount |
The encoder count when 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. Note that current hardware platforms use only 32-bits of encoder data. This means that depending on the hardware, the encoder may rollover (go back to 0) when the encoder count reaches 0xFFFFFFFF (or 4294967295). | |
| Item |
Get's value of a line that was caputured with this state object.
Note: Once a state object is read/created its contained values do not change. To get the current values you must call ReadState() again. | |
| TimeStamp |
The time stamp counter when 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. |