Access a group of up to 32 output line values as a binary number.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
Parameters
- firstIndex
- Type: System Int32
The first output line.
- numberOfBits
- Type: System Int32
The number of lines to write.
- value
- Type: System Int32
Exceptions
| Exception | Condition |
|---|---|
| CogCollectionInvalidIndexException | firstIndex is < 0 or >= Count. |
| ArgumentException | numberOfBits is < 1 or > 32. |
Remarks
Reads or writes a group of up to 32 output line values as a binary number.
The first output line, specified by firstIndex has a binary value of 1. The last output line, specified by firstIndex+numberOfBits-1, has a binary value of 2^(numberOfBits-1).
See Also