Set multiple output lines at the same time.
Namespace: Cognex.VisionPro.CommAssembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 69.0.0.0
Syntax
Parameters
- outputBank
- Type: Cognex.VisionPro.Comm CogPrioBankConstants
The I/O bank of the output lines to set.
- valuesToSet
- Type: System Int64
The values to set as an integer. The 0th bit represents output line 0, The 1st bit represents output line 1, and so on... Bits greater than the number of lines in the bank are ignored. 1 is "high", 0 is "low".
- mask
- Type: System Int64
A mask. Controls which bits/lines in values argument are set (mask = 1) and which bits/lines in values argument are ignored (make = 0).
Exceptions
| Exception | Condition |
|---|---|
| CogPrioInvalidBankException | Thrown if outputBank is set to an invalid bank. |
Remarks
Hardware platforms and supported I/O lines:
| Cognex Communication Card 24C | |
|---|---|
| InputBank0, Line0-Line7 | 8 general purpose inputs numbered 0-7 |
| OutputBank0, Line0-Line15 | 16 general purpose outputs numbered 0-15 |
| Cognex Communication Card 24A (Cognex Vision Controller) | |
|---|---|
| InputBank0, Line0-Line7 | 8 general purpose inputs numbered 0-7 |
| OutputBank0, Line0-Line15 | 16 general purpose outputs numbered 0-15 |
| DS1000OutputBank0, Line0 | Camera 0 Enable (Not For Application Use) |
| DS1000OutputBank0, Line1 | Camera 1 Enable (Not For Application Use) |
| DS1000OutputBank0, Line2 | Camera 0 Trigger |
| DS1000OutputBank0, Line3 | Camera 1 Trigger |
| DS1000OutputBank0, Line4 | Camera 0 Control (Not For Application Use) |
| DS1000OutputBank0, Line5 | Camera 1 Control (Not For Application Use) |
| DS1000OutputBank0, Line6 | Camera 0 Power (Not For Application Use) |
| DS1000OutputBank0, Line7 | Camera 1 Power (Not For Application Use) |
See Also