CogIOMCB GetLinePulseWidth Method Cognex VisionPro 9.22 SR1
Get the pulse width, in milliseconds, for the specified line on this device. This parameter is used by the WriteSyncPulse().

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax

public int GetLinePulseWidth(
	int line
)

Parameters

line
Type: System Int32
The line number. Must be in the range 0 to 23 inclusive.

Return Value

Type: Int32
The pulse width, in milliseconds, for the specified line on this device.
Exceptions

ExceptionCondition
ObjectDisposedException If this CogIOMCB object has already been disposed.
ArgumentOutOfRangeException If the line argument is less than zero or greater than 23.
See Also