Set the pulse width, in milliseconds, for the specified line
on this device. This parameter is used by the WriteSyncPulse().
If you set this to a new value while a heartbeat is already
running on this line, the heartbeat will not be affected.
If you then stopped and subsequently restarted the heartbeat
on this line, it would reflect this new pulse width value.
Namespace: Cognex.VisionPro.QuickBuild.IOAssembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax
Parameters
- line
- Type: System Int32
The line number. Must be in the range 0 to 23 inclusive.
- pulseWidth
- Type: System Int32
The desired pulse width, in milliseconds.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when a line's PulseWidth value is changed. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogIOMCB object has already been disposed. |
| ArgumentOutOfRangeException | If the line argument is less than zero or greater than 23. |
See Also